home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-04-21 | 52.3 KB | [ONLN/HLX2] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Wed Apr 21 17:37:17 1993, modified Wed Apr 21 17:37:19 1993, creator 'HLX2', type 'ONLN', 51877 bytes "Managerial Abuse" , at 0xcb25 1354 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [ONLN] |
macFileCreator | [HLX2] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 4d 61 6e 61 67 65 | 72 69 61 6c 20 41 62 75 |..Manage|rial Abu|
|00000010| 73 65 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |se......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 00 ca a5 00 | 00 05 4a a7 fb 6f 0d a7 |........|..J..o..|
|00000060| fb 6f 0f 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.o......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 9a 82 00 00 |........|........|
|00000080| 44 6f 6e d5 74 20 41 62 | 75 73 65 20 74 68 65 20 |Don.t Ab|use the |
|00000090| 4d 61 6e 61 67 65 72 73 | 0d 4f 76 65 72 76 69 65 |Managers|.Overvie|
|000000a0| 77 09 4d 2e 4f 56 2e 4d | 61 6e 61 67 65 72 41 62 |w.M.OV.M|anagerAb|
|000000b0| 75 73 65 0d 57 72 69 74 | 74 65 6e 20 62 79 3a 09 |use.Writ|ten by:.|
|000000c0| 42 6f 33 62 20 4a 6f 68 | 6e 73 6f 6e 09 41 75 67 |Bo3b Joh|nson.Aug|
|000000d0| 75 73 74 20 31 39 38 38 | 0d 57 68 65 6e 20 75 73 |ust 1988|.When us|
|000000e0| 69 6e 67 20 74 68 65 20 | 76 61 72 69 6f 75 73 20 |ing the |various |
|000000f0| 70 69 65 63 65 73 20 6f | 66 20 74 68 65 20 4d 61 |pieces o|f the Ma|
|00000100| 63 69 6e 74 6f 73 68 20 | 6f 70 65 72 61 74 69 6e |cintosh |operatin|
|00000110| 67 20 73 79 73 74 65 6d | 20 74 68 65 72 65 20 69 |g system| there i|
|00000120| 73 20 61 20 74 65 6d 70 | 74 61 74 69 6f 6e 20 74 |s a temp|tation t|
|00000130| 6f 20 74 72 79 20 74 6f | 20 73 74 72 65 74 63 68 |o try to| stretch|
|00000140| 20 74 68 65 20 62 75 69 | 6c 74 2d 69 6e 20 4d 61 | the bui|lt-in Ma|
|00000150| 6e 61 67 65 72 73 20 74 | 6f 6f 20 66 61 72 2e 20 |nagers t|oo far. |
|00000160| 44 65 76 65 6c 6f 70 65 | 72 73 20 73 68 6f 75 6c |Develope|rs shoul|
|00000170| 64 20 62 65 20 61 77 61 | 72 65 20 6f 66 20 74 68 |d be awa|re of th|
|00000180| 65 20 69 6e 74 65 6e 64 | 65 64 20 70 75 72 70 6f |e intend|ed purpo|
|00000190| 73 65 20 6f 66 20 74 68 | 65 20 76 61 72 69 6f 75 |se of th|e variou|
|000001a0| 73 20 4d 61 6e 61 67 65 | 72 73 20 61 6e 64 20 62 |s Manage|rs and b|
|000001b0| 65 77 61 72 65 20 6f 66 | 20 75 73 69 6e 67 20 74 |eware of| using t|
|000001c0| 68 65 6d 20 66 6f 72 20 | 74 68 69 6e 67 73 20 74 |hem for |things t|
|000001d0| 68 61 74 20 74 68 65 79 | 20 77 65 72 65 20 6e 6f |hat they| were no|
|000001e0| 74 20 64 65 73 69 67 6e | 65 64 20 74 6f 20 68 61 |t design|ed to ha|
|000001f0| 6e 64 6c 65 2e 20 49 66 | 20 65 78 74 65 6e 64 65 |ndle. If| extende|
|00000200| 64 20 62 65 79 6f 6e 64 | 20 74 68 65 69 72 20 64 |d beyond| their d|
|00000210| 65 73 69 67 6e 20 67 6f | 61 6c 73 2c 20 74 68 65 |esign go|als, the|
|00000220| 79 20 77 69 6c 6c 20 62 | 65 63 6f 6d 65 20 73 6c |y will b|ecome sl|
|00000230| 6f 77 20 61 6e 64 20 75 | 6e 77 69 65 6c 64 79 2e |ow and u|nwieldy.|
|00000240| 0d 4d 61 6e 61 67 65 72 | 73 20 74 6f 20 61 76 6f |.Manager|s to avo|
|00000250| 69 64 20 61 62 75 73 69 | 6e 67 2c 20 61 6e 64 20 |id abusi|ng, and |
|00000260| 74 68 65 20 74 79 70 65 | 20 6f 66 20 61 62 75 73 |the type| of abus|
|00000270| 65 3a 0d 31 29 09 54 68 | 65 20 52 65 73 6f 75 72 |e:.1).Th|e Resour|
|00000280| 63 65 20 4d 61 6e 61 67 | 65 72 20 69 73 20 6e 6f |ce Manag|er is no|
|00000290| 74 20 61 20 64 61 74 61 | 62 61 73 65 2e 0d 32 29 |t a data|base..2)|
|000002a0| 09 54 68 65 20 54 65 78 | 74 45 64 69 74 20 70 61 |.The Tex|tEdit pa|
|000002b0| 63 6b 61 67 65 20 69 73 | 20 6e 6f 74 20 61 20 77 |ckage is| not a w|
|000002c0| 6f 72 64 20 70 72 6f 63 | 65 73 73 6f 72 2e 0d 33 |ord proc|essor..3|
|000002d0| 29 09 54 68 65 20 4c 69 | 73 74 20 4d 61 6e 61 67 |).The Li|st Manag|
|000002e0| 65 72 20 69 73 20 6e 6f | 74 20 61 20 73 70 72 65 |er is no|t a spre|
|000002f0| 61 64 73 68 65 65 74 2e | 0d 34 29 09 54 68 65 20 |adsheet.|.4).The |
|00000300| 44 69 61 6c 6f 67 20 4d | 61 6e 61 67 65 72 20 69 |Dialog M|anager i|
|00000310| 73 20 6e 6f 74 20 61 20 | 75 73 65 72 20 69 6e 74 |s not a |user int|
|00000320| 65 72 66 61 63 65 2e 0d | 4e 6f 20 66 72 65 65 20 |erface..|No free |
|00000330| 64 61 74 61 62 61 73 65 | 0d 41 66 74 65 72 20 75 |database|.After u|
|00000340| 73 69 6e 67 20 74 68 65 | 20 52 65 73 6f 75 72 63 |sing the| Resourc|
|00000350| 65 20 4d 61 6e 61 67 65 | 72 20 66 6f 72 20 61 20 |e Manage|r for a |
|00000360| 73 68 6f 72 74 20 74 69 | 6d 65 2c 20 69 74 73 20 |short ti|me, its |
|00000370| 76 69 72 74 75 65 73 20 | 62 65 63 6f 6d 65 20 61 |virtues |become a|
|00000380| 70 70 61 72 65 6e 74 3a | 20 69 74 20 69 73 20 76 |pparent:| it is v|
|00000390| 65 72 79 20 66 6c 65 78 | 69 62 6c 65 2c 20 69 74 |ery flex|ible, it|
|000003a0| 20 69 73 20 65 61 73 79 | 20 74 6f 20 75 73 65 2c | is easy| to use,|
|000003b0| 20 69 74 20 67 69 76 65 | 73 20 64 69 73 6b 20 62 | it give|s disk b|
|000003c0| 61 73 65 64 20 49 2f 4f | 20 77 69 74 68 20 6e 6f |ased I/O| with no|
|000003d0| 20 65 78 74 72 61 20 63 | 61 6c 6c 73 2c 20 64 61 | extra c|alls, da|
|000003e0| 74 61 20 63 61 6e 20 62 | 65 20 65 78 74 72 61 63 |ta can b|e extrac|
|000003f0| 74 65 64 20 62 79 20 65 | 69 74 68 65 72 20 6e 61 |ted by e|ither na|
|00000400| 6d 65 20 6f 72 20 49 44 | 20 6e 75 6d 62 65 72 2c |me or ID| number,|
|00000410| 20 61 6e 64 20 74 68 65 | 20 64 61 74 61 20 69 73 | and the| data is|
|00000420| 20 73 74 6f 72 65 64 20 | 74 72 61 6e 73 70 61 72 | stored |transpar|
|00000430| 65 6e 74 6c 79 20 73 6f | 20 74 68 65 20 63 61 6c |ently so| the cal|
|00000440| 6c 65 72 20 63 61 6e 20 | 70 72 65 74 65 6e 64 20 |ler can |pretend |
|00000450| 74 68 65 20 64 61 74 61 | 20 69 73 20 61 6c 77 61 |the data| is alwa|
|00000460| 79 73 20 61 76 61 69 6c | 61 62 6c 65 20 69 6e 20 |ys avail|able in |
|00000470| 61 20 76 69 72 74 75 61 | 6c 20 6d 65 6d 6f 72 79 |a virtua|l memory|
|00000480| 20 66 61 73 68 69 6f 6e | 2e 20 57 69 74 68 20 73 | fashion|. With s|
|00000490| 75 63 68 20 77 69 64 65 | 20 72 61 6e 67 69 6e 67 |uch wide| ranging|
|000004a0| 20 61 64 76 61 6e 74 61 | 67 65 73 2c 20 69 74 20 | advanta|ges, it |
|000004b0| 77 6f 75 6c 64 20 73 65 | 65 6d 20 74 68 61 74 20 |would se|em that |
|000004c0| 74 68 65 20 52 65 73 6f | 75 72 63 65 20 4d 61 6e |the Reso|urce Man|
|000004d0| 61 67 65 72 20 73 68 6f | 75 6c 64 20 62 65 20 75 |ager sho|uld be u|
|000004e0| 73 65 64 20 66 6f 72 20 | 65 76 65 72 79 74 68 69 |sed for |everythi|
|000004f0| 6e 67 2e 20 49 74 20 73 | 68 6f 75 6c 64 20 62 65 |ng. It s|hould be|
|00000500| 20 61 70 70 61 72 65 6e | 74 20 74 68 61 74 20 74 | apparen|t that t|
|00000510| 68 65 20 54 41 4e 53 54 | 41 41 46 4c 20 28 54 68 |he TANST|AAFL (Th|
|00000520| 65 72 65 20 41 69 6e d5 | 74 20 4e 6f 20 53 75 63 |ere Ain.|t No Suc|
|00000530| 68 20 54 68 69 6e 67 20 | 41 73 20 41 20 46 72 65 |h Thing |As A Fre|
|00000540| 65 20 4c 75 6e 63 68 29 | 20 70 68 69 6c 6f 73 6f |e Lunch)| philoso|
|00000550| 70 68 79 20 61 70 70 6c | 69 65 73 20 74 6f 20 74 |phy appl|ies to t|
|00000560| 68 65 20 52 65 73 6f 75 | 72 63 65 20 4d 61 6e 61 |he Resou|rce Mana|
|00000570| 67 65 72 20 61 73 20 77 | 65 6c 6c 2e 20 49 66 20 |ger as w|ell. If |
|00000580| 6f 76 65 72 65 78 74 65 | 6e 64 65 64 2c 20 74 68 |overexte|nded, th|
|00000590| 65 20 52 65 73 6f 75 72 | 63 65 20 4d 61 6e 61 67 |e Resour|ce Manag|
|000005a0| 65 72 20 77 69 6c 6c 20 | 62 65 63 6f 6d 65 20 73 |er will |become s|
|000005b0| 6c 6f 77 20 61 6e 64 20 | 75 6e 75 73 61 62 6c 65 |low and |unusable|
|000005c0| 2e 0d 54 68 65 20 52 65 | 73 6f 75 72 63 65 20 4d |..The Re|source M|
|000005d0| 61 6e 61 67 65 72 20 69 | 73 20 6e 6f 74 20 61 20 |anager i|s not a |
|000005e0| 64 61 74 61 62 61 73 65 | 2c 20 6e 6f 72 20 69 73 |database|, nor is|
|000005f0| 20 69 74 20 61 20 67 6f | 6f 64 20 77 61 79 20 74 | it a go|od way t|
|00000600| 6f 20 73 74 6f 72 65 20 | 75 73 65 72 20 64 61 74 |o store |user dat|
|00000610| 61 2e 20 20 41 6c 74 68 | 6f 75 67 68 20 69 74 20 |a. Alth|ough it |
|00000620| 63 61 6e 20 62 65 20 75 | 73 65 64 20 74 6f 20 73 |can be u|sed to s|
|00000630| 74 6f 72 65 20 76 65 72 | 79 20 73 6d 61 6c 6c 20 |tore ver|y small |
|00000640| 61 6d 6f 75 6e 74 73 20 | 6f 66 20 64 61 74 61 2c |amounts |of data,|
|00000650| 20 73 75 63 68 20 61 73 | 20 63 6f 6e 66 69 67 75 | such as| configu|
|00000660| 72 61 74 69 6f 6e 20 64 | 61 74 61 2c 20 61 6e 64 |ration d|ata, and|
|00000670| 20 66 65 61 74 75 72 65 | 73 20 73 6f 6d 65 20 6f | feature|s some o|
|00000680| 66 20 74 68 65 20 73 61 | 6d 65 20 63 68 61 72 61 |f the sa|me chara|
|00000690| 63 74 65 72 69 73 74 69 | 63 73 20 6f 66 20 64 61 |cteristi|cs of da|
|000006a0| 74 61 62 61 73 65 73 20 | 69 6e 20 67 65 6e 65 72 |tabases |in gener|
|000006b0| 61 6c 2c 20 74 68 65 20 | 52 65 73 6f 75 72 63 65 |al, the |Resource|
|000006c0| 20 4d 61 6e 61 67 65 72 | 20 69 73 20 61 20 73 70 | Manager| is a sp|
|000006d0| 65 63 69 61 6c 69 7a 65 | 64 20 74 6f 6f 6c 20 64 |ecialize|d tool d|
|000006e0| 65 73 69 67 6e 65 64 20 | 73 70 65 63 69 66 69 63 |esigned |specific|
|000006f0| 61 6c 6c 79 20 66 6f 72 | 20 74 68 65 20 74 79 70 |ally for| the typ|
|00000700| 65 73 20 6f 66 20 74 68 | 69 6e 67 73 20 74 68 61 |es of th|ings tha|
|00000710| 74 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |t the Ma|cintosh |
|00000720| 53 79 73 74 65 6d 20 6e | 65 65 64 73 2e 20 49 74 |System n|eeds. It|
|00000730| 73 20 6d 61 69 6e 20 76 | 69 72 74 75 65 20 66 6f |s main v|irtue fo|
|00000740| 72 20 73 79 73 74 65 6d | 20 75 73 65 20 69 73 20 |r system| use is |
|00000750| 74 68 61 74 20 61 20 6c | 61 72 67 65 20 76 61 72 |that a l|arge var|
|00000760| 69 65 74 79 20 6f 66 20 | 64 61 74 61 20 63 61 6e |iety of |data can|
|00000770| 20 62 65 20 73 74 6f 72 | 65 64 20 6f 6e 20 64 69 | be stor|ed on di|
|00000780| 73 6b 2c 20 61 6e 64 20 | 61 63 63 65 73 73 65 64 |sk, and |accessed|
|00000790| 20 77 68 65 6e 20 6e 65 | 65 64 65 64 2e 20 54 68 | when ne|eded. Th|
|000007a0| 69 73 20 69 73 20 61 20 | 70 72 69 6d 69 74 69 76 |is is a |primitiv|
|000007b0| 65 20 66 6f 72 6d 20 6f | 66 20 76 69 72 74 75 61 |e form o|f virtua|
|000007c0| 6c 20 6d 65 6d 6f 72 79 | 20 77 68 69 63 68 20 65 |l memory| which e|
|000007d0| 78 74 65 6e 64 73 20 74 | 68 65 20 70 6f 77 65 72 |xtends t|he power|
|000007e0| 20 6f 66 20 74 68 65 20 | 73 79 73 74 65 6d 20 62 | of the |system b|
|000007f0| 65 79 6f 6e 64 20 77 68 | 61 74 20 74 68 65 20 52 |eyond wh|at the R|
|00000800| 41 4d 20 73 75 70 70 6c | 69 65 73 2e 20 52 65 6d |AM suppl|ies. Rem|
|00000810| 65 6d 62 65 72 69 6e 67 | 20 74 68 61 74 20 74 68 |embering| that th|
|00000820| 65 20 52 65 73 6f 75 72 | 63 65 20 4d 61 6e 61 67 |e Resour|ce Manag|
|00000830| 65 72 20 77 61 73 20 77 | 72 69 74 74 65 6e 20 69 |er was w|ritten i|
|00000840| 6e 20 61 6e 20 65 72 61 | 20 6f 66 20 31 32 38 4b |n an era| of 128K|
|00000850| 20 52 41 4d 2c 20 69 74 | 20 73 68 6f 75 6c 64 20 | RAM, it| should |
|00000860| 62 65 20 61 70 70 61 72 | 65 6e 74 20 74 68 61 74 |be appar|ent that|
|00000870| 20 69 74 20 69 73 20 6f | 70 74 69 6d 69 7a 65 64 | it is o|ptimized|
|00000880| 20 74 6f 20 75 73 65 20 | 61 73 20 6c 69 74 74 6c | to use |as littl|
|00000890| 65 20 52 41 4d 20 61 73 | 20 70 6f 73 73 69 62 6c |e RAM as| possibl|
|000008a0| 65 2e 0d 54 68 65 20 52 | 65 73 6f 75 72 63 65 20 |e..The R|esource |
|000008b0| 4d 61 6e 61 67 65 72 20 | 75 73 65 73 20 61 20 73 |Manager |uses a s|
|000008c0| 69 6d 70 6c 65 20 64 61 | 74 61 20 73 74 72 75 63 |imple da|ta struc|
|000008d0| 74 75 72 65 20 66 6f 72 | 20 61 63 63 65 73 73 69 |ture for| accessi|
|000008e0| 6e 67 20 74 68 65 20 64 | 61 74 61 20 69 6e 20 74 |ng the d|ata in t|
|000008f0| 68 65 20 66 69 6c 65 2e | 20 45 78 61 6d 69 6e 69 |he file.| Examini|
|00000900| 6e 67 20 74 68 65 20 52 | 65 73 6f 75 72 63 65 20 |ng the R|esource |
|00000910| 4d 61 6e 61 67 65 72 20 | 66 69 6c 65 20 66 6f 72 |Manager |file for|
|00000920| 6d 61 74 20 63 61 6e 20 | 73 68 6f 77 20 73 6f 6d |mat can |show som|
|00000930| 65 20 6f 66 20 74 68 65 | 20 74 72 61 64 65 6f 66 |e of the| tradeof|
|00000940| 66 73 20 65 78 70 65 63 | 74 65 64 2e 20 46 6f 72 |fs expec|ted. For|
|00000950| 20 69 6e 73 74 61 6e 63 | 65 2c 20 74 68 65 72 65 | instanc|e, there|
|00000960| 20 69 73 20 61 20 6c 69 | 6e 65 61 72 6c 79 20 61 | is a li|nearly a|
|00000970| 63 63 65 73 73 65 64 20 | 74 61 62 6c 65 20 77 68 |ccessed |table wh|
|00000980| 69 63 68 20 64 65 73 63 | 72 69 62 65 73 20 61 6c |ich desc|ribes al|
|00000990| 6c 20 6f 66 20 74 68 65 | 20 70 6f 73 73 69 62 6c |l of the| possibl|
|000009a0| 65 20 72 65 73 6f 75 72 | 63 65 20 74 79 70 65 73 |e resour|ce types|
|000009b0| 20 74 68 61 74 20 61 72 | 65 20 69 6e 20 74 68 65 | that ar|e in the|
|000009c0| 20 63 75 72 72 65 6e 74 | 20 66 69 6c 65 2e 20 57 | current| file. W|
|000009d0| 69 74 68 6f 75 74 20 74 | 6f 6f 20 6d 75 63 68 20 |ithout t|oo much |
|000009e0| 74 68 6f 75 67 68 74 20 | 69 74 20 73 68 6f 75 6c |thought |it shoul|
|000009f0| 64 20 62 65 20 61 70 70 | 61 72 65 6e 74 20 74 68 |d be app|arent th|
|00000a00| 61 74 20 69 66 20 61 20 | 66 69 6c 65 20 69 73 20 |at if a |file is |
|00000a10| 63 72 65 61 74 65 64 20 | 77 69 74 68 20 74 68 6f |created |with tho|
|00000a20| 75 73 61 6e 64 73 20 6f | 66 20 64 69 66 66 65 72 |usands o|f differ|
|00000a30| 65 6e 74 20 72 65 73 6f | 75 72 63 65 20 74 79 70 |ent reso|urce typ|
|00000a40| 65 73 20 74 68 65 6e 20 | 61 63 63 65 73 73 20 74 |es then |access t|
|00000a50| 6f 20 74 68 6f 73 65 20 | 72 65 73 6f 75 72 63 65 |o those |resource|
|00000a60| 73 20 77 69 6c 6c 20 62 | 65 20 73 6c 6f 77 2e 20 |s will b|e slow. |
|00000a70| 54 68 65 20 72 65 61 73 | 6f 6e 3f 20 20 45 61 63 |The reas|on? Eac|
|00000a80| 68 20 61 63 63 65 73 73 | 20 72 65 71 75 69 72 65 |h access| require|
|00000a90| 73 20 73 63 61 6e 6e 69 | 6e 67 20 61 20 6c 69 6e |s scanni|ng a lin|
|00000aa0| 65 61 72 20 61 72 72 61 | 79 2e 20 20 54 68 65 72 |ear arra|y. Ther|
|00000ab0| 65 20 69 73 20 6e 6f 20 | 68 61 73 68 69 6e 67 20 |e is no |hashing |
|00000ac0| 74 65 63 68 6e 69 71 75 | 65 20 75 73 65 64 20 6f |techniqu|e used o|
|00000ad0| 6e 20 74 68 65 20 72 65 | 73 6f 75 72 63 65 20 74 |n the re|source t|
|00000ae0| 79 70 65 73 2e 0d 54 68 | 65 72 65 20 69 73 20 61 |ypes..Th|ere is a|
|00000af0| 20 73 69 6d 69 6c 61 72 | 20 6c 69 6e 65 61 72 20 | similar| linear |
|00000b00| 74 61 62 6c 65 20 66 6f | 72 20 74 68 65 20 72 65 |table fo|r the re|
|00000b10| 73 6f 75 72 63 65 20 49 | 44 73 20 74 68 65 6d 73 |source I|Ds thems|
|00000b20| 65 6c 76 65 73 2e 20 42 | 61 73 65 64 20 6f 6e 20 |elves. B|ased on |
|00000b30| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 64 69 73 |the prev|ious dis|
|00000b40| 63 75 73 73 69 6f 6e 20 | 69 74 20 73 68 6f 75 6c |cussion |it shoul|
|00000b50| 64 20 61 6c 73 6f 20 62 | 65 20 61 70 70 61 72 65 |d also b|e appare|
|00000b60| 6e 74 20 74 68 61 74 20 | 69 66 20 74 68 65 72 65 |nt that |if there|
|00000b70| 20 61 72 65 20 74 68 6f | 75 73 61 6e 64 73 20 6f | are tho|usands o|
|00000b80| 66 20 72 65 73 6f 75 72 | 63 65 73 20 6f 66 20 61 |f resour|ces of a|
|00000b90| 20 73 70 65 63 69 66 69 | 63 20 74 79 70 65 20 74 | specifi|c type t|
|00000ba0| 68 61 74 20 74 68 65 20 | 61 63 63 65 73 73 20 74 |hat the |access t|
|00000bb0| 69 6d 65 20 77 69 6c 6c | 20 62 65 63 6f 6d 65 20 |ime will| become |
|00000bc0| 6d 75 63 68 20 6c 61 72 | 67 65 72 2e 20 49 74 20 |much lar|ger. It |
|00000bd0| 77 69 6c 6c 20 62 65 20 | 69 6d 70 65 72 63 65 70 |will be |impercep|
|00000be0| 74 69 62 6c 65 20 6f 6e | 20 61 20 73 69 6e 67 6c |tible on| a singl|
|00000bf0| 65 20 61 63 63 65 73 73 | 20 6f 66 20 61 20 72 65 |e access| of a re|
|00000c00| 73 6f 75 72 63 65 2c 20 | 62 75 74 20 66 6f 72 20 |source, |but for |
|00000c10| 74 68 6f 75 73 61 6e 64 | 73 20 6f 66 20 61 63 63 |thousand|s of acc|
|00000c20| 65 73 73 65 73 20 74 6f | 20 74 68 65 20 72 65 73 |esses to| the res|
|00000c30| 6f 75 72 63 65 20 66 69 | 6c 65 20 74 68 65 20 74 |ource fi|le the t|
|00000c40| 69 6d 65 20 73 70 65 6e | 74 20 74 72 61 76 65 72 |ime spen|t traver|
|00000c50| 73 69 6e 67 20 74 68 65 | 20 6c 69 6e 65 61 72 20 |sing the| linear |
|00000c60| 6c 69 73 74 20 77 69 6c | 6c 20 69 6d 70 61 63 74 |list wil|l impact|
|00000c70| 20 74 68 65 20 6f 76 65 | 72 61 6c 6c 20 73 70 65 | the ove|rall spe|
|00000c80| 65 64 20 6f 66 20 74 68 | 65 20 70 72 6f 67 72 61 |ed of th|e progra|
|00000c90| 6d 2e 20 54 68 65 20 75 | 73 65 72 20 77 69 6c 6c |m. The u|ser will|
|00000ca0| 20 6e 6f 74 20 62 65 20 | 70 6c 65 61 73 65 64 2e | not be |pleased.|
|00000cb0| 0d 49 6e 63 72 65 61 73 | 69 6e 67 20 74 68 65 20 |.Increas|ing the |
|00000cc0| 73 6c 6f 77 6e 65 73 73 | 20 62 79 20 68 61 76 69 |slowness| by havi|
|00000cd0| 6e 67 20 74 6f 6f 20 6d | 61 6e 79 20 72 65 73 6f |ng too m|any reso|
|00000ce0| 75 72 63 65 73 20 61 73 | 20 77 65 6c 6c 20 61 73 |urces as| well as|
|00000cf0| 20 74 6f 6f 20 6d 61 6e | 79 20 74 79 70 65 73 20 | too man|y types |
|00000d00| 77 69 6c 6c 20 65 6e 63 | 6f 75 72 61 67 65 20 74 |will enc|ourage t|
|00000d10| 68 65 20 75 73 65 72 20 | 74 6f 20 66 69 6c 65 20 |he user |to file |
|00000d20| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 69 6e 20 61 |the prog|ram in a|
|00000d30| 20 67 72 6f 75 6e 64 20 | 62 61 73 65 64 20 63 69 | ground |based ci|
|00000d40| 72 63 75 6c 61 72 20 73 | 74 6f 72 61 67 65 20 66 |rcular s|torage f|
|00000d50| 61 63 69 6c 69 74 79 2e | 0d 41 73 20 73 74 61 74 |acility.|.As stat|
|00000d60| 65 64 20 69 6e 20 54 65 | 63 68 6e 69 63 61 6c 20 |ed in Te|chnical |
|00000d70| 4e 6f 74 65 20 23 31 34 | 31 2c 20 74 68 65 72 65 |Note #14|1, there|
|00000d80| 20 69 73 20 61 20 6c 69 | 6d 69 74 20 6f 66 20 61 | is a li|mit of a|
|00000d90| 62 6f 75 74 20 32 37 30 | 30 20 72 65 73 6f 75 72 |bout 270|0 resour|
|00000da0| 63 65 73 20 69 6e 20 61 | 20 67 69 76 65 6e 20 66 |ces in a| given f|
|00000db0| 69 6c 65 20 64 75 65 20 | 74 6f 20 74 68 65 20 77 |ile due |to the w|
|00000dc0| 61 79 20 74 68 65 20 72 | 65 73 6f 75 72 63 65 73 |ay the r|esources|
|00000dd0| 20 61 72 65 20 73 74 6f | 72 65 64 2e 20 54 68 65 | are sto|red. The|
|00000de0| 20 70 65 72 66 6f 72 6d | 61 6e 63 65 20 70 65 6e | perform|ance pen|
|00000df0| 61 6c 74 79 20 77 69 6c | 6c 20 61 72 72 69 76 65 |alty wil|l arrive|
|00000e00| 20 73 6f 6f 6e 65 72 2c | 20 61 6e 64 20 74 68 65 | sooner,| and the|
|00000e10| 20 64 69 76 69 64 69 6e | 67 20 6c 69 6e 65 20 66 | dividin|g line f|
|00000e20| 6f 72 20 77 68 65 72 65 | 20 69 74 20 69 73 20 d2 |or where| it is .|
|00000e30| 74 6f 6f 20 73 6c 6f 77 | d3 20 69 73 20 61 20 70 |too slow|. is a p|
|00000e40| 65 72 73 6f 6e 61 6c 20 | 70 72 65 66 65 72 65 6e |ersonal |preferen|
|00000e50| 63 65 2e 20 41 73 20 61 | 20 72 75 6c 65 20 6f 66 |ce. As a| rule of|
|00000e60| 20 74 68 75 6d 62 2c 20 | 69 66 20 74 68 65 20 70 | thumb, |if the p|
|00000e70| 72 6f 67 72 61 6d 20 68 | 61 73 20 74 68 65 20 61 |rogram h|as the a|
|00000e80| 62 69 6c 69 74 79 20 74 | 6f 20 73 74 6f 72 65 20 |bility t|o store |
|00000e90| 6d 6f 72 65 20 74 68 61 | 6e 20 61 62 6f 75 74 20 |more tha|n about |
|00000ea0| 35 30 30 20 72 65 73 6f | 75 72 63 65 73 20 74 6f |500 reso|urces to|
|00000eb0| 74 61 6c 20 28 62 6f 74 | 68 20 49 44 73 20 61 6e |tal (bot|h IDs an|
|00000ec0| 64 20 74 79 70 65 73 29 | 2c 20 74 68 65 6e 20 63 |d types)|, then c|
|00000ed0| 6f 6e 73 69 64 65 72 61 | 74 69 6f 6e 20 73 68 6f |onsidera|tion sho|
|00000ee0| 75 6c 64 20 62 65 20 67 | 69 76 65 6e 20 74 6f 20 |uld be g|iven to |
|00000ef0| 75 73 69 6e 67 20 74 68 | 65 20 44 61 74 61 20 46 |using th|e Data F|
|00000f00| 6f 72 6b 20 69 6e 73 74 | 65 61 64 2e 20 49 6e 20 |ork inst|ead. In |
|00000f10| 70 61 72 74 69 63 75 6c | 61 72 2c 20 69 66 20 74 |particul|ar, if t|
|00000f20| 68 65 20 70 72 6f 67 72 | 61 6d 20 61 6c 6c 6f 77 |he progr|am allow|
|00000f30| 73 20 74 68 65 20 75 73 | 65 72 20 74 6f 20 63 72 |s the us|er to cr|
|00000f40| 65 61 74 65 20 64 61 74 | 61 20 66 69 6c 65 73 2c |eate dat|a files,|
|00000f50| 20 64 6f 20 6e 6f 74 20 | 75 73 65 20 74 68 65 20 | do not |use the |
|00000f60| 52 65 73 6f 75 72 63 65 | 20 4d 61 6e 61 67 65 72 |Resource| Manager|
|00000f70| 20 74 6f 20 73 74 6f 72 | 65 20 74 68 65 20 75 73 | to stor|e the us|
|00000f80| 65 72 20 64 61 74 61 2e | 20 54 68 65 20 75 73 65 |er data.| The use|
|00000f90| 72 73 20 77 69 6c 6c 20 | 61 6c 77 61 79 73 20 6f |rs will |always o|
|00000fa0| 76 65 72 65 78 74 65 6e | 64 20 74 68 65 20 75 73 |verexten|d the us|
|00000fb0| 65 20 6f 66 20 61 20 70 | 72 6f 67 72 61 6d 2e 20 |e of a p|rogram. |
|00000fc0| 50 6c 61 6e 20 66 6f 72 | 20 69 74 2c 20 61 6e 64 |Plan for| it, and|
|00000fd0| 20 61 76 6f 69 64 20 6d | 61 6b 69 6e 67 20 6f 62 | avoid m|aking ob|
|00000fe0| 76 69 6f 75 73 6c 79 20 | 62 61 64 20 64 65 63 69 |viously |bad deci|
|00000ff0| 73 69 6f 6e 73 2e 20 46 | 6f 72 20 6c 61 72 67 65 |sions. F|or large|
|00001000| 20 61 6d 6f 75 6e 74 73 | 20 6f 66 20 64 61 74 61 | amounts| of data|
|00001010| 2c 20 74 68 65 20 46 69 | 6c 65 20 4d 61 6e 61 67 |, the Fi|le Manag|
|00001020| 65 72 20 69 73 20 74 68 | 65 20 70 6c 61 63 65 20 |er is th|e place |
|00001030| 74 6f 20 6c 6f 6f 6b 2e | 20 49 66 20 74 68 65 20 |to look.| If the |
|00001040| 70 72 6f 67 72 61 6d 20 | 77 61 6e 74 73 20 74 6f |program |wants to|
|00001050| 20 61 6c 6c 6f 77 20 73 | 69 6d 75 6c 74 61 6e 65 | allow s|imultane|
|00001060| 6f 75 73 20 28 6d 75 6c | 74 69 2d 75 73 65 72 29 |ous (mul|ti-user)|
|00001070| 20 61 63 63 65 73 73 20 | 77 69 74 68 20 72 65 61 | access |with rea|
|00001080| 64 20 61 6e 64 20 77 72 | 69 74 65 20 70 72 69 76 |d and wr|ite priv|
|00001090| 69 6c 65 67 65 73 20 74 | 6f 20 64 61 74 61 20 66 |ileges t|o data f|
|000010a0| 69 6c 65 73 2c 20 74 68 | 65 6e 20 64 6f 20 6e 6f |iles, th|en do no|
|000010b0| 74 20 75 73 65 20 74 68 | 65 20 52 65 73 6f 75 72 |t use th|e Resour|
|000010c0| 63 65 20 4d 61 6e 61 67 | 65 72 2e 20 20 42 65 63 |ce Manag|er. Bec|
|000010d0| 61 75 73 65 20 69 74 20 | 63 61 63 68 65 73 20 64 |ause it |caches d|
|000010e0| 61 74 61 2c 20 74 68 65 | 20 52 65 73 6f 75 72 63 |ata, the| Resourc|
|000010f0| 65 20 4d 61 6e 61 67 65 | 72 20 63 61 6e 6e 6f 74 |e Manage|r cannot|
|00001100| 20 62 65 20 72 65 6c 69 | 65 64 20 75 70 6f 6e 20 | be reli|ed upon |
|00001110| 61 73 20 61 20 6d 75 6c | 74 69 2d 75 73 65 72 20 |as a mul|ti-user |
|00001120| 64 61 74 61 62 61 73 65 | 20 d0 20 65 76 65 6e 20 |database| . even |
|00001130| 66 6f 72 20 73 6d 61 6c | 6c 20 61 6d 6f 75 6e 74 |for smal|l amount|
|00001140| 73 20 6f 66 20 64 61 74 | 61 2e 20 54 68 69 73 20 |s of dat|a. This |
|00001150| 69 73 20 62 65 63 61 75 | 73 65 20 74 68 65 72 65 |is becau|se there|
|00001160| 20 69 73 20 6e 6f 20 77 | 61 79 20 74 6f 20 74 65 | is no w|ay to te|
|00001170| 6c 6c 20 74 68 65 20 52 | 65 73 6f 75 72 63 65 20 |ll the R|esource |
|00001180| 4d 61 6e 61 67 65 72 20 | 69 74 73 20 63 61 63 68 |Manager |its cach|
|00001190| 65 20 69 73 20 69 6e 76 | 61 6c 69 64 2e 20 0d 44 |e is inv|alid. .D|
|000011a0| 6f 6e d5 74 20 62 65 20 | 66 6f 6f 6c 65 64 20 62 |on.t be |fooled b|
|000011b0| 79 20 61 20 63 6f 6e 76 | 65 6e 69 65 6e 74 20 69 |y a conv|enient i|
|000011c0| 6e 74 65 72 66 61 63 65 | 2e 20 54 68 65 20 52 65 |nterface|. The Re|
|000011d0| 73 6f 75 72 63 65 20 4d | 61 6e 61 67 65 72 20 69 |source M|anager i|
|000011e0| 73 20 6e 6f 74 20 61 20 | 64 61 74 61 62 61 73 65 |s not a |database|
|000011f0| 2c 20 6e 6f 72 20 69 73 | 20 69 74 20 61 20 66 69 |, nor is| it a fi|
|00001200| 6c 65 20 73 79 73 74 65 | 6d 2e 0d 57 6f 72 64 73 |le syste|m..Words|
|00001210| 20 74 6f 20 6c 69 76 65 | 20 62 79 0d 4c 6f 6f 6b | to live| by.Look|
|00001220| 69 6e 67 20 61 74 20 74 | 68 65 20 54 65 78 74 45 |ing at t|he TextE|
|00001230| 64 69 74 20 70 61 63 6b | 61 67 65 20 63 61 6e 20 |dit pack|age can |
|00001240| 67 69 76 65 20 74 68 65 | 20 69 6d 70 72 65 73 73 |give the| impress|
|00001250| 69 6f 6e 20 74 68 61 74 | 20 74 68 65 72 65 20 69 |ion that| there i|
|00001260| 73 20 61 20 66 75 6c 6c | 20 66 65 61 74 75 72 65 |s a full| feature|
|00001270| 64 20 77 6f 72 64 20 70 | 72 6f 63 65 73 73 69 6e |d word p|rocessin|
|00001280| 67 20 73 79 73 74 65 6d | 20 62 75 69 6c 74 20 69 |g system| built i|
|00001290| 6e 2e 20 54 68 69 73 20 | 69 73 20 65 76 65 6e 20 |n. This |is even |
|000012a0| 6d 6f 72 65 20 74 72 75 | 65 20 6e 6f 77 20 74 68 |more tru|e now th|
|000012b0| 61 74 20 54 65 78 74 45 | 64 69 74 20 68 61 73 20 |at TextE|dit has |
|000012c0| 62 65 65 6e 20 65 78 74 | 65 6e 64 65 64 20 74 6f |been ext|ended to|
|000012d0| 20 73 75 70 70 6f 72 74 | 20 76 61 72 69 6f 75 73 | support| various|
|000012e0| 20 73 74 79 6c 65 73 20 | 61 6e 64 20 66 6f 6e 74 | styles |and font|
|000012f0| 73 2e 20 55 6e 66 6f 72 | 74 75 6e 61 74 65 6c 79 |s. Unfor|tunately|
|00001300| 2c 20 61 70 70 65 61 72 | 61 6e 63 65 73 20 61 72 |, appear|ances ar|
|00001310| 65 20 64 65 63 65 69 76 | 69 6e 67 2c 20 61 6e 64 |e deceiv|ing, and|
|00001320| 20 54 65 78 74 45 64 69 | 74 20 69 73 20 6e 6f 74 | TextEdi|t is not|
|00001330| 20 75 70 20 74 6f 20 74 | 68 65 20 6a 6f 62 20 6f | up to t|he job o|
|00001340| 66 20 62 65 69 6e 67 20 | 61 20 77 6f 72 64 20 70 |f being |a word p|
|00001350| 72 6f 63 65 73 73 6f 72 | 2e 20 4c 6f 6f 6b 69 6e |rocessor|. Lookin|
|00001360| 67 20 74 68 72 6f 75 67 | 68 20 74 68 65 20 64 6f |g throug|h the do|
|00001370| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 73 68 6f 77 |cumentat|ion show|
|00001380| 73 20 74 68 61 74 20 74 | 68 65 72 65 20 69 73 20 |s that t|here is |
|00001390| 61 20 33 32 2c 37 36 37 | 20 63 68 61 72 61 63 74 |a 32,767| charact|
|000013a0| 65 72 20 6c 69 6d 69 74 | 20 6f 6e 20 74 68 65 20 |er limit| on the |
|000013b0| 74 65 78 74 20 69 6e 20 | 61 20 54 65 78 74 45 64 |text in |a TextEd|
|000013c0| 69 74 20 72 65 63 6f 72 | 64 2e 20 54 68 65 20 74 |it recor|d. The t|
|000013d0| 65 4c 65 6e 67 74 68 20 | 69 73 20 64 65 66 69 6e |eLength |is defin|
|000013e0| 65 64 20 61 73 20 61 6e | 20 49 6e 74 65 67 65 72 |ed as an| Integer|
|000013f0| 2e 20 41 6e 6f 74 68 65 | 72 20 6d 6f 72 65 20 73 |. Anothe|r more s|
|00001400| 75 62 74 6c 65 20 6c 69 | 6d 69 74 20 69 73 20 74 |ubtle li|mit is t|
|00001410| 68 65 20 64 72 61 77 69 | 6e 67 20 6c 69 6d 69 74 |he drawi|ng limit|
|00001420| 20 6f 66 20 74 68 65 20 | 72 65 63 74 61 6e 67 6c | of the |rectangl|
|00001430| 65 73 20 73 75 72 72 6f | 75 6e 64 69 6e 67 20 74 |es surro|unding t|
|00001440| 68 65 20 74 65 78 74 2e | 20 54 68 65 20 64 65 73 |he text.| The des|
|00001450| 74 52 65 63 74 20 61 6e | 64 20 76 69 65 77 52 65 |tRect an|d viewRe|
|00001460| 63 74 20 62 6f 74 68 20 | 73 75 72 72 6f 75 6e 64 |ct both |surround|
|00001470| 20 74 68 65 20 63 6f 6d | 70 6c 65 74 65 20 54 65 | the com|plete Te|
|00001480| 78 74 45 64 69 74 20 72 | 65 63 6f 72 64 2e 20 55 |xtEdit r|ecord. U|
|00001490| 73 69 6e 67 20 73 6f 6d | 65 20 72 61 74 68 65 72 |sing som|e rather|
|000014a0| 20 72 6f 75 67 68 20 61 | 70 70 72 6f 78 69 6d 61 | rough a|pproxima|
|000014b0| 74 69 6f 6e 73 2c 20 74 | 68 65 72 65 20 69 73 20 |tions, t|here is |
|000014c0| 61 6e 20 75 70 70 65 72 | 20 6c 69 6d 69 74 20 6f |an upper| limit o|
|000014d0| 66 20 61 62 6f 75 74 20 | 34 30 20 70 61 67 65 73 |f about |40 pages|
|000014e0| 20 6f 66 20 74 65 78 74 | 20 74 68 61 74 20 63 61 | of text| that ca|
|000014f0| 6e 20 62 65 20 73 75 70 | 70 6f 72 74 65 64 20 69 |n be sup|ported i|
|00001500| 6e 20 74 68 65 20 51 75 | 69 63 6b 44 72 61 77 20 |n the Qu|ickDraw |
|00001510| 72 65 63 74 61 6e 67 6c | 65 2e 20 54 68 69 73 20 |rectangl|e. This |
|00001520| 69 73 20 71 75 69 74 65 | 20 61 20 6c 6f 74 20 66 |is quite| a lot f|
|00001530| 6f 72 20 73 6f 6d 65 20 | 61 70 70 6c 69 63 61 74 |or some |applicat|
|00001540| 69 6f 6e 73 2c 20 62 75 | 74 20 69 73 20 6e 6f 74 |ions, bu|t is not|
|00001550| 20 76 65 72 79 20 6d 61 | 6e 79 20 77 68 65 6e 20 | very ma|ny when |
|00001560| 6c 6f 6f 6b 69 6e 67 20 | 61 74 20 74 68 65 20 6a |looking |at the j|
|00001570| 6f 62 20 74 79 70 69 63 | 61 6c 6c 79 20 72 65 71 |ob typic|ally req|
|00001580| 75 69 72 65 64 20 6f 66 | 20 61 20 77 6f 72 64 20 |uired of| a word |
|00001590| 70 72 6f 63 65 73 73 6f | 72 2e 20 55 73 65 72 73 |processo|r. Users|
|000015a0| 20 64 6f 20 6e 6f 74 20 | 65 6e 6a 6f 79 20 62 72 | do not |enjoy br|
|000015b0| 65 61 6b 69 6e 67 20 74 | 68 65 69 72 20 64 6f 63 |eaking t|heir doc|
|000015c0| 75 6d 65 6e 74 73 20 69 | 6e 74 6f 20 6d 75 6c 74 |uments i|nto mult|
|000015d0| 69 70 6c 65 20 70 69 65 | 63 65 73 2e 20 0d 54 68 |iple pie|ces. .Th|
|000015e0| 65 72 65 20 61 72 65 20 | 73 6f 6d 65 20 6f 74 68 |ere are |some oth|
|000015f0| 65 72 20 70 72 6f 67 72 | 61 6d 6d 61 74 69 63 20 |er progr|ammatic |
|00001600| 6c 69 6d 69 74 61 74 69 | 6f 6e 73 2c 20 6e 6f 74 |limitati|ons, not|
|00001610| 20 74 68 65 20 6c 65 61 | 73 74 20 6f 66 20 77 68 | the lea|st of wh|
|00001620| 69 63 68 20 69 73 20 70 | 65 72 66 6f 72 6d 61 6e |ich is p|erforman|
|00001630| 63 65 2e 20 54 65 78 74 | 45 64 69 74 20 77 69 6c |ce. Text|Edit wil|
|00001640| 6c 20 62 65 63 6f 6d 65 | 20 71 75 69 74 65 20 73 |l become| quite s|
|00001650| 6c 75 67 67 69 73 68 20 | 77 69 74 68 20 6c 61 72 |luggish |with lar|
|00001660| 67 65 20 62 6c 6f 63 6b | 73 20 6f 66 20 64 61 74 |ge block|s of dat|
|00001670| 61 2e 20 41 66 74 65 72 | 20 32 2c 30 30 30 2d 34 |a. After| 2,000-4|
|00001680| 2c 30 30 30 20 63 68 61 | 72 61 63 74 65 72 73 20 |,000 cha|racters |
|00001690| 68 61 76 65 20 62 65 65 | 6e 20 73 74 6f 72 65 64 |have bee|n stored|
|000016a0| 20 69 6e 20 61 20 54 65 | 78 74 45 64 69 74 20 72 | in a Te|xtEdit r|
|000016b0| 65 63 6f 72 64 2c 20 74 | 68 65 20 70 65 72 66 6f |ecord, t|he perfo|
|000016c0| 72 6d 61 6e 63 65 20 77 | 69 6c 6c 20 68 61 76 65 |rmance w|ill have|
|000016d0| 20 73 6c 6f 77 65 64 20 | 74 6f 20 61 6e 20 75 6e | slowed |to an un|
|000016e0| 61 63 63 65 70 74 61 62 | 6c 65 20 6c 65 76 65 6c |acceptab|le level|
|000016f0| 2e 20 49 74 20 69 73 20 | 6e 6f 74 61 62 6c 65 20 |. It is |notable |
|00001700| 74 68 61 74 20 74 68 65 | 20 6c 69 6e 65 53 74 61 |that the| lineSta|
|00001710| 72 74 73 20 61 72 72 61 | 79 20 69 73 20 61 20 6c |rts arra|y is a l|
|00001720| 69 6e 65 61 72 20 61 72 | 72 61 79 20 6f 66 20 6f |inear ar|ray of o|
|00001730| 66 66 73 65 74 73 20 69 | 6e 74 6f 20 74 68 65 20 |ffsets i|nto the |
|00001740| 65 64 69 74 20 72 65 63 | 6f 72 64 2e 20 49 66 20 |edit rec|ord. If |
|00001750| 74 68 65 20 64 61 74 61 | 20 74 6f 77 61 72 64 73 |the data| towards|
|00001760| 20 74 68 65 20 65 6e 64 | 20 6f 66 20 74 68 65 20 | the end| of the |
|00001770| 64 61 74 61 20 72 65 63 | 6f 72 64 20 28 68 69 67 |data rec|ord (hig|
|00001780| 68 20 69 6e 20 74 68 65 | 20 72 65 63 6f 72 64 29 |h in the| record)|
|00001790| 20 63 68 61 6e 67 65 73 | 2c 20 74 68 65 20 6f 66 | changes|, the of|
|000017a0| 66 73 65 74 73 20 68 61 | 76 65 20 74 6f 20 62 65 |fsets ha|ve to be|
|000017b0| 20 63 68 61 6e 67 65 64 | 2e 20 54 68 69 73 20 63 | changed|. This c|
|000017c0| 61 6e 20 69 6e 76 6f 6c | 76 65 20 75 70 64 61 74 |an invol|ve updat|
|000017d0| 69 6e 67 20 74 68 6f 75 | 73 61 6e 64 73 20 6f 66 |ing thou|sands of|
|000017e0| 20 49 6e 74 65 67 65 72 | 20 6f 66 66 73 65 74 73 | Integer| offsets|
|000017f0| 20 66 6f 72 20 65 76 65 | 72 79 20 63 68 61 72 61 | for eve|ry chara|
|00001800| 63 74 65 72 20 74 79 70 | 65 64 2e 20 49 66 20 74 |cter typ|ed. If t|
|00001810| 68 65 20 64 69 66 66 65 | 72 65 6e 74 20 66 6f 6e |he diffe|rent fon|
|00001820| 74 2c 20 73 69 7a 65 20 | 61 6e 64 20 73 74 79 6c |t, size |and styl|
|00001830| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 69 73 |e inform|ation is|
|00001840| 20 74 61 63 6b 65 64 20 | 6f 6e 20 74 6f 70 20 6f | tacked |on top o|
|00001850| 66 20 61 6c 6c 20 74 68 | 61 74 2c 20 74 68 65 20 |f all th|at, the |
|00001860| 70 65 72 66 6f 72 6d 61 | 6e 63 65 20 63 61 6e 20 |performa|nce can |
|00001870| 62 65 20 65 78 70 65 63 | 74 65 64 20 74 6f 20 73 |be expec|ted to s|
|00001880| 75 66 66 65 72 20 77 69 | 74 68 20 6c 61 72 67 65 |uffer wi|th large|
|00001890| 20 62 6c 6f 63 6b 73 20 | 6f 66 20 74 65 78 74 2e | blocks |of text.|
|000018a0| 20 4d 61 6b 65 20 6e 6f | 20 6d 69 73 74 61 6b 65 | Make no| mistake|
|000018b0| 20 61 62 6f 75 74 20 69 | 74 2c 20 61 20 66 75 6c | about i|t, a ful|
|000018c0| 6c 20 4d 61 63 69 6e 74 | 6f 73 68 20 73 74 79 6c |l Macint|osh styl|
|000018d0| 65 20 77 6f 72 64 20 70 | 72 6f 63 65 73 73 6f 72 |e word p|rocessor|
|000018e0| 20 69 73 20 6e 6f 74 20 | 61 6e 20 65 61 73 79 20 | is not |an easy |
|000018f0| 74 68 69 6e 67 20 74 6f | 20 77 72 69 74 65 2e 20 |thing to| write. |
|00001900| 54 65 78 74 45 64 69 74 | 20 77 61 73 20 6e 6f 74 |TextEdit| was not|
|00001910| 20 64 65 73 69 67 6e 65 | 64 20 74 6f 20 68 61 6e | designe|d to han|
|00001920| 64 6c 65 20 6c 61 72 67 | 65 20 64 6f 63 75 6d 65 |dle larg|e docume|
|00001930| 6e 74 73 2e 20 49 74 20 | 77 61 73 20 64 65 73 69 |nts. It |was desi|
|00001940| 67 6e 65 64 20 61 73 20 | 61 20 73 69 6d 70 6c 65 |gned as |a simple|
|00001950| 20 66 69 65 6c 64 20 65 | 64 69 74 6f 72 20 66 6f | field e|ditor fo|
|00001960| 72 20 74 68 65 20 44 69 | 61 6c 6f 67 20 4d 61 6e |r the Di|alog Man|
|00001970| 61 67 65 72 2c 20 61 6e | 64 20 65 78 74 65 6e 64 |ager, an|d extend|
|00001980| 65 64 20 66 72 6f 6d 20 | 74 68 65 72 65 2e 20 49 |ed from |there. I|
|00001990| 74 20 77 61 73 20 6e 65 | 76 65 72 20 69 6e 74 65 |t was ne|ver inte|
|000019a0| 6e 64 65 64 20 74 6f 20 | 68 61 6e 64 6c 65 20 74 |nded to |handle t|
|000019b0| 68 65 20 6c 61 72 67 65 | 20 6a 6f 62 73 20 65 78 |he large| jobs ex|
|000019c0| 70 65 63 74 65 64 20 6f | 66 20 61 20 77 6f 72 64 |pected o|f a word|
|000019d0| 20 70 72 6f 63 65 73 73 | 6f 72 2e 0d 49 6e 20 6f | process|or..In o|
|000019e0| 72 64 65 72 20 74 6f 20 | 70 65 72 66 6f 72 6d 20 |rder to |perform |
|000019f0| 74 68 65 20 6f 70 65 72 | 61 74 69 6f 6e 73 20 72 |the oper|ations r|
|00001a00| 65 71 75 69 72 65 64 20 | 6f 66 20 61 20 77 6f 72 |equired |of a wor|
|00001a10| 64 20 70 72 6f 63 65 73 | 73 6f 72 20 69 74 20 69 |d proces|sor it i|
|00001a20| 73 20 6e 65 63 65 73 73 | 61 72 79 20 74 6f 20 75 |s necess|ary to u|
|00001a30| 73 65 20 51 75 69 63 6b | 44 72 61 77 20 65 78 74 |se Quick|Draw ext|
|00001a40| 65 6e 73 69 76 65 6c 79 | 2e 20 54 68 65 20 65 78 |ensively|. The ex|
|00001a50| 70 65 63 74 65 64 20 4d | 61 63 69 6e 74 6f 73 68 |pected M|acintosh|
|00001a60| 20 73 65 6c 65 63 74 69 | 6f 6e 20 61 70 70 72 6f | selecti|on appro|
|00001a70| 61 63 68 20 77 69 74 68 | 20 61 75 74 6f 73 63 72 |ach with| autoscr|
|00001a80| 6f 6c 6c 69 6e 67 2c 20 | 74 79 70 69 6e 67 20 6f |olling, |typing o|
|00001a90| 76 65 72 20 73 65 6c 65 | 63 74 65 64 20 74 65 78 |ver sele|cted tex|
|00001aa0| 74 2c 20 63 75 74 2f 63 | 6f 70 79 2f 70 61 73 74 |t, cut/c|opy/past|
|00001ab0| 65 2c 20 61 6e 64 20 73 | 6f 20 6f 6e 20 61 72 65 |e, and s|o on are|
|00001ac0| 20 62 65 73 74 20 69 6d | 70 6c 65 6d 65 6e 74 65 | best im|plemente|
|00001ad0| 64 20 75 73 69 6e 67 20 | 51 75 69 63 6b 44 72 61 |d using |QuickDra|
|00001ae0| 77 20 64 69 72 65 63 74 | 6c 79 2e 20 48 6f 77 20 |w direct|ly. How |
|00001af0| 74 68 65 20 74 65 78 74 | 20 69 73 20 73 74 6f 72 |the text| is stor|
|00001b00| 65 64 20 69 6e 74 65 72 | 6e 61 6c 6c 79 20 69 73 |ed inter|nally is|
|00001b10| 20 74 68 65 20 70 72 69 | 6d 61 72 79 20 64 65 74 | the pri|mary det|
|00001b20| 65 72 6d 69 6e 69 6e 67 | 20 66 61 63 74 6f 72 20 |ermining| factor |
|00001b30| 6f 6e 20 68 6f 77 20 74 | 68 65 20 77 6f 72 64 20 |on how t|he word |
|00001b40| 70 72 6f 63 65 73 73 6f | 72 20 77 69 6c 6c 20 70 |processo|r will p|
|00001b50| 65 72 66 6f 72 6d 2e 0d | 44 6f 6e d5 74 20 62 65 |erform..|Don.t be|
|00001b60| 20 66 6f 6f 6c 65 64 20 | 62 79 20 68 6f 77 20 65 | fooled |by how e|
|00001b70| 61 73 79 20 69 74 20 69 | 73 20 74 6f 20 69 6d 70 |asy it i|s to imp|
|00001b80| 6c 65 6d 65 6e 74 20 73 | 69 6d 70 6c 65 20 65 64 |lement s|imple ed|
|00001b90| 69 74 69 6e 67 20 69 6e | 20 61 6e 20 61 70 70 6c |iting in| an appl|
|00001ba0| 69 63 61 74 69 6f 6e 2e | 20 54 65 78 74 45 64 69 |ication.| TextEdi|
|00001bb0| 74 20 69 73 20 6e 6f 74 | 20 61 20 77 6f 72 64 20 |t is not| a word |
|00001bc0| 70 72 6f 63 65 73 73 6f | 72 2e 0d 43 68 65 63 6b |processo|r..Check|
|00001bd0| 69 6e 67 20 6c 69 73 74 | 73 20 74 77 69 63 65 0d |ing list|s twice.|
|00001be0| 54 68 65 20 4c 69 73 74 | 20 4d 61 6e 61 67 65 72 |The List| Manager|
|00001bf0| 20 61 70 70 65 61 72 73 | 20 74 6f 20 62 65 20 61 | appears| to be a|
|00001c00| 20 63 65 6c 6c 20 6f 72 | 69 65 6e 74 65 64 20 64 | cell or|iented d|
|00001c10| 69 73 70 6c 61 79 20 74 | 6f 6f 6c 2c 20 61 6c 6c |isplay t|ool, all|
|00001c20| 6f 77 69 6e 67 20 74 68 | 65 20 65 61 73 79 20 63 |owing th|e easy c|
|00001c30| 72 65 61 74 69 6f 6e 20 | 6f 66 20 61 20 73 70 72 |reation |of a spr|
|00001c40| 65 61 64 73 68 65 65 74 | 20 69 6e 74 65 72 66 61 |eadsheet| interfa|
|00001c50| 63 65 20 75 73 69 6e 67 | 20 73 79 73 74 65 6d 20 |ce using| system |
|00001c60| 63 61 6c 6c 73 2e 20 54 | 68 65 20 72 69 63 68 20 |calls. T|he rich |
|00001c70| 69 6e 74 65 72 66 61 63 | 65 20 74 6f 20 74 68 65 |interfac|e to the|
|00001c80| 20 6d 61 6e 61 67 65 72 | 20 6d 61 6b 65 73 20 69 | manager| makes i|
|00001c90| 74 20 65 61 73 79 20 74 | 6f 20 68 61 6e 64 6c 65 |t easy t|o handle|
|00001ca0| 20 61 72 62 69 74 72 61 | 72 79 20 6c 69 73 74 73 | arbitra|ry lists|
|00001cb0| 20 6f 66 20 64 61 74 61 | 2e 20 4f 72 20 64 6f 65 | of data|. Or doe|
|00001cc0| 73 20 69 74 3f 20 41 6c | 74 68 6f 75 67 68 20 74 |s it? Al|though t|
|00001cd0| 68 65 20 4c 69 73 74 20 | 4d 61 6e 61 67 65 72 20 |he List |Manager |
|00001ce0| 69 73 20 76 65 72 79 20 | 66 6c 65 78 69 62 6c 65 |is very |flexible|
|00001cf0| 2c 20 65 61 73 79 20 74 | 6f 20 75 73 65 2c 20 61 |, easy t|o use, a|
|00001d00| 6e 64 20 67 65 6e 65 72 | 61 6c 20 65 6e 6f 75 67 |nd gener|al enoug|
|00001d10| 68 20 74 6f 20 68 61 6e | 64 6c 65 20 67 72 61 70 |h to han|dle grap|
|00001d20| 68 69 63 20 65 6c 65 6d | 65 6e 74 73 2c 20 69 74 |hic elem|ents, it|
|00001d30| 73 20 70 65 72 66 6f 72 | 6d 61 6e 63 65 20 62 65 |s perfor|mance be|
|00001d40| 63 6f 6d 65 73 20 75 6e | 61 63 63 65 70 74 61 62 |comes un|acceptab|
|00001d50| 6c 65 20 77 69 74 68 20 | 72 65 6c 61 74 69 76 65 |le with |relative|
|00001d60| 6c 79 20 6d 6f 64 65 73 | 74 20 61 6d 6f 75 6e 74 |ly modes|t amount|
|00001d70| 73 20 6f 66 20 64 61 74 | 61 2e 20 41 20 6f 6e 65 |s of dat|a. A one|
|00001d80| 2d 64 69 6d 65 6e 73 69 | 6f 6e 61 6c 20 6c 69 73 |-dimensi|onal lis|
|00001d90| 74 20 28 6c 69 6b 65 20 | 74 68 65 20 66 69 6c 65 |t (like |the file|
|00001da0| 73 20 6c 69 73 74 20 69 | 6e 20 53 74 64 46 69 6c |s list i|n StdFil|
|00001db0| 65 29 20 63 61 6e 20 62 | 65 20 64 6f 6e 65 20 76 |e) can b|e done v|
|00001dc0| 65 72 79 20 77 65 6c 6c | 20 75 73 69 6e 67 20 74 |ery well| using t|
|00001dd0| 68 65 20 4c 69 73 74 20 | 4d 61 6e 61 67 65 72 2c |he List |Manager,|
|00001de0| 20 62 75 74 20 77 69 74 | 68 20 73 65 76 65 72 61 | but wit|h severa|
|00001df0| 6c 20 74 68 6f 75 73 61 | 6e 64 20 69 74 65 6d 73 |l thousa|nd items|
|00001e00| 20 69 6e 20 74 68 65 20 | 6c 69 73 74 2c 20 74 68 | in the |list, th|
|00001e10| 65 20 70 65 72 66 6f 72 | 6d 61 6e 63 65 20 6d 61 |e perfor|mance ma|
|00001e20| 79 20 6e 6f 74 20 62 65 | 20 73 75 66 66 69 63 69 |y not be| suffici|
|00001e30| 65 6e 74 2e 20 54 68 69 | 73 20 72 61 72 65 6c 79 |ent. Thi|s rarely|
|00001e40| 20 68 61 70 70 65 6e 73 | 20 69 6e 20 53 74 64 46 | happens| in StdF|
|00001e50| 69 6c 65 20 6f 66 20 63 | 6f 75 72 73 65 2c 20 61 |ile of c|ourse, a|
|00001e60| 6e 64 20 53 74 64 46 69 | 6c 65 20 77 61 73 20 74 |nd StdFi|le was t|
|00001e70| 68 65 20 66 61 74 68 65 | 72 20 6f 66 20 74 68 65 |he fathe|r of the|
|00001e80| 20 4c 69 73 74 20 4d 61 | 6e 61 67 65 72 2e 20 48 | List Ma|nager. H|
|00001e90| 65 72 65 20 61 67 61 69 | 6e 2c 20 74 68 65 20 74 |ere agai|n, the t|
|00001ea0| 6f 6f 6c 20 77 61 73 20 | 64 65 73 69 67 6e 65 64 |ool was |designed|
|00001eb0| 20 77 69 74 68 20 61 20 | 73 70 65 63 69 66 69 63 | with a |specific|
|00001ec0| 20 63 6f 6e 63 65 70 74 | 20 69 6e 20 6d 69 6e 64 | concept| in mind|
|00001ed0| 2c 20 6e 6f 74 20 74 6f | 20 62 65 20 74 68 65 20 |, not to| be the |
|00001ee0| 75 6c 74 69 6d 61 74 65 | 20 74 6f 6f 6c 20 66 6f |ultimate| tool fo|
|00001ef0| 72 20 68 61 6e 64 6c 69 | 6e 67 20 61 6e 79 20 70 |r handli|ng any p|
|00001f00| 6f 73 73 69 62 6c 65 20 | 61 72 62 69 74 72 61 72 |ossible |arbitrar|
|00001f10| 79 20 64 61 74 61 2e 20 | 41 20 74 77 6f 2d 64 69 |y data. |A two-di|
|00001f20| 6d 65 6e 73 69 6f 6e 61 | 6c 20 6c 69 73 74 20 6f |mensiona|l list o|
|00001f30| 66 20 64 61 74 61 20 77 | 69 6c 6c 20 62 65 63 6f |f data w|ill beco|
|00001f40| 6d 65 20 74 6f 6f 20 73 | 6c 6f 77 20 74 6f 20 75 |me too s|low to u|
|00001f50| 73 65 20 77 69 74 68 20 | 61 6e 20 61 72 72 61 79 |se with |an array|
|00001f60| 20 61 73 20 73 6d 61 6c | 6c 20 61 73 20 31 30 78 | as smal|l as 10x|
|00001f70| 31 30 30 2e 20 54 68 69 | 73 20 63 61 6e 20 68 61 |100. Thi|s can ha|
|00001f80| 72 64 6c 79 20 62 65 20 | 65 78 70 65 63 74 65 64 |rdly be |expected|
|00001f90| 20 74 6f 20 73 61 74 69 | 73 66 79 20 74 68 65 20 | to sati|sfy the |
|00001fa0| 75 73 65 72 20 6f 66 20 | 61 20 73 70 72 65 61 64 |user of |a spread|
|00001fb0| 73 68 65 65 74 2c 20 73 | 69 6e 63 65 20 6f 6e 65 |sheet, s|ince one|
|00001fc0| 20 d2 70 6f 77 65 72 d3 | 20 63 72 69 74 65 72 69 | .power.| criteri|
|00001fd0| 61 20 69 73 20 61 6c 77 | 61 79 73 20 74 68 65 20 |a is alw|ays the |
|00001fe0| 6e 75 6d 62 65 72 20 6f | 66 20 63 65 6c 6c 73 20 |number o|f cells |
|00001ff0| 61 76 61 69 6c 61 62 6c | 65 2e 20 0d 57 68 79 20 |availabl|e. .Why |
|00002000| 73 6f 20 73 6c 6f 77 3f | 20 41 73 20 61 62 6f 76 |so slow?| As abov|
|00002010| 65 2c 20 65 78 61 6d 69 | 6e 69 6e 67 20 74 68 65 |e, exami|ning the|
|00002020| 20 64 61 74 61 20 73 74 | 72 75 63 74 75 72 65 73 | data st|ructures|
|00002030| 20 75 73 65 64 20 62 79 | 20 74 68 65 20 4c 69 73 | used by| the Lis|
|00002040| 74 20 4d 61 6e 61 67 65 | 72 20 63 61 6e 20 74 65 |t Manage|r can te|
|00002050| 6c 6c 20 61 20 6c 6f 74 | 20 61 62 6f 75 74 20 74 |ll a lot| about t|
|00002060| 68 65 20 65 78 70 65 63 | 74 65 64 20 70 65 72 66 |he expec|ted perf|
|00002070| 6f 72 6d 61 6e 63 65 20 | 61 6e 64 20 6c 69 6d 69 |ormance |and limi|
|00002080| 74 61 74 69 6f 6e 73 2e | 20 4e 6f 74 61 62 6c 79 |tations.| Notably|
|00002090| 20 74 68 65 20 63 65 6c | 6c 41 72 72 61 79 20 75 | the cel|lArray u|
|000020a0| 73 65 64 20 74 6f 20 6f | 66 66 73 65 74 20 74 6f |sed to o|ffset to|
|000020b0| 20 65 61 63 68 20 63 65 | 6c 6c d5 73 20 64 61 74 | each ce|ll.s dat|
|000020c0| 61 20 69 73 20 61 6e 20 | 6f 6c 64 20 66 72 69 65 |a is an |old frie|
|000020d0| 6e 64 2c 20 61 20 6c 69 | 6e 65 61 72 20 61 72 72 |nd, a li|near arr|
|000020e0| 61 79 20 6f 66 20 49 6e | 74 65 67 65 72 20 6f 66 |ay of In|teger of|
|000020f0| 66 73 65 74 73 2e 20 49 | 74 20 73 68 6f 75 6c 64 |fsets. I|t should|
|00002100| 20 63 6f 6d 65 20 61 73 | 20 6e 6f 20 73 75 72 70 | come as| no surp|
|00002110| 72 69 73 65 20 74 68 61 | 74 20 69 6e 73 65 72 74 |rise tha|t insert|
|00002120| 69 6e 67 20 6f 72 20 64 | 65 6c 65 74 69 6e 67 20 |ing or d|eleting |
|00002130| 64 61 74 61 20 66 72 6f | 6d 20 74 68 65 20 6d 69 |data fro|m the mi|
|00002140| 64 64 6c 65 20 6f 66 20 | 74 68 69 73 20 61 72 72 |ddle of |this arr|
|00002150| 61 79 20 69 73 20 73 6c | 6f 77 2e 20 49 6e 20 6f |ay is sl|ow. In o|
|00002160| 72 64 65 72 20 74 6f 20 | 64 6f 20 74 68 6f 73 65 |rder to |do those|
|00002170| 20 66 75 6e 63 74 69 6f | 6e 73 20 74 68 65 20 4c | functio|ns the L|
|00002180| 69 73 74 20 4d 61 6e 61 | 67 65 72 20 68 61 73 20 |ist Mana|ger has |
|00002190| 74 6f 20 75 70 64 61 74 | 65 20 74 68 65 20 49 6e |to updat|e the In|
|000021a0| 74 65 67 65 72 20 6f 66 | 66 73 65 74 73 20 69 6e |teger of|fsets in|
|000021b0| 20 74 68 65 20 61 72 72 | 61 79 20 65 61 63 68 20 | the arr|ay each |
|000021c0| 74 69 6d 65 2e 20 49 74 | 20 68 61 73 20 74 6f 20 |time. It| has to |
|000021d0| 73 74 65 70 20 74 68 72 | 6f 75 67 68 20 65 61 63 |step thr|ough eac|
|000021e0| 68 20 65 6c 65 6d 65 6e | 74 20 6f 6e 20 74 68 65 |h elemen|t on the|
|000021f0| 20 6c 69 6e 65 61 72 20 | 61 72 72 61 79 20 6f 66 | linear |array of|
|00002200| 20 6f 66 66 73 65 74 73 | 20 77 68 69 63 68 20 77 | offsets| which w|
|00002210| 69 6c 6c 20 74 61 6b 65 | 20 73 6f 6d 65 20 74 69 |ill take| some ti|
|00002220| 6d 65 20 6f 6e 20 73 65 | 76 65 72 61 6c 20 74 68 |me on se|veral th|
|00002230| 6f 75 73 61 6e 64 20 65 | 6c 65 6d 65 6e 74 73 2e |ousand e|lements.|
|00002240| 0d 54 68 65 20 6d 61 78 | 49 6e 64 65 78 20 66 69 |.The max|Index fi|
|00002250| 65 6c 64 20 6f 66 20 74 | 68 65 20 4c 69 73 74 52 |eld of t|he ListR|
|00002260| 65 63 20 69 73 20 61 6c | 73 6f 20 6e 6f 74 61 62 |ec is al|so notab|
|00002270| 6c 65 20 73 69 6e 63 65 | 20 69 74 20 69 73 20 61 |le since| it is a|
|00002280| 6e 20 49 6e 74 65 67 65 | 72 20 61 73 20 77 65 6c |n Intege|r as wel|
|00002290| 6c 2e 20 54 68 65 20 6c | 69 73 74 73 20 6f 66 20 |l. The l|ists of |
|000022a0| 64 61 74 61 20 63 61 6e | 20 62 65 20 6e 6f 20 6d |data can| be no m|
|000022b0| 6f 72 65 20 74 68 61 6e | 20 33 32 4b 20 62 79 74 |ore than| 32K byt|
|000022c0| 65 73 20 69 6e 20 73 69 | 7a 65 2c 20 77 68 69 63 |es in si|ze, whic|
|000022d0| 68 20 63 6f 75 6c 64 20 | 62 65 20 73 6f 6d 65 77 |h could |be somew|
|000022e0| 68 61 74 20 6c 69 6d 69 | 74 69 6e 67 20 74 6f 20 |hat limi|ting to |
|000022f0| 61 20 75 73 65 72 2e 0d | 49 6e 20 61 64 64 69 74 |a user..|In addit|
|00002300| 69 6f 6e 2c 20 74 68 65 | 20 4c 69 73 74 20 4d 61 |ion, the| List Ma|
|00002310| 6e 61 67 65 72 20 69 73 | 20 76 65 72 79 20 67 65 |nager is| very ge|
|00002320| 6e 65 72 61 6c 20 70 75 | 72 70 6f 73 65 2c 20 6d |neral pu|rpose, m|
|00002330| 61 6b 69 6e 67 20 69 74 | 20 6e 65 63 65 73 73 61 |aking it| necessa|
|00002340| 72 79 20 66 6f 72 20 69 | 74 20 74 6f 20 70 72 6f |ry for i|t to pro|
|00002350| 74 65 63 74 20 69 74 73 | 65 6c 66 20 66 72 6f 6d |tect its|elf from|
|00002360| 20 62 61 64 20 64 61 74 | 61 20 77 68 65 6e 65 76 | bad dat|a whenev|
|00002370| 65 72 20 70 6f 73 73 69 | 62 6c 65 2e 20 49 74 20 |er possi|ble. It |
|00002380| 6e 65 65 64 73 20 74 6f | 20 63 68 65 63 6b 20 74 |needs to| check t|
|00002390| 68 65 20 62 6f 75 6e 64 | 73 20 6f 66 20 61 6e 79 |he bound|s of any|
|000023a0| 20 72 65 63 74 61 6e 67 | 6c 65 73 20 69 74 20 75 | rectang|les it u|
|000023b0| 73 65 73 20 66 6f 72 20 | 65 78 61 6d 70 6c 65 2e |ses for |example.|
|000023c0| 20 49 74 20 74 72 69 65 | 73 20 74 6f 20 6d 69 6e | It trie|s to min|
|000023d0| 69 6d 69 7a 65 20 64 72 | 61 77 69 6e 67 20 6f 75 |imize dr|awing ou|
|000023e0| 74 20 6f 66 20 62 6f 75 | 6e 64 73 2c 20 73 6f 20 |t of bou|nds, so |
|000023f0| 69 74 20 63 68 65 63 6b | 73 20 65 61 63 68 20 63 |it check|s each c|
|00002400| 65 6c 6c 20 61 73 20 69 | 74 20 69 73 20 64 72 61 |ell as i|t is dra|
|00002410| 77 6e 20 74 6f 20 62 65 | 20 73 75 72 65 20 74 68 |wn to be| sure th|
|00002420| 61 74 20 69 74 20 69 73 | 20 6f 6e 20 73 63 72 65 |at it is| on scre|
|00002430| 65 6e 2e 20 45 78 74 72 | 61 20 76 61 6c 69 64 69 |en. Extr|a validi|
|00002440| 74 79 20 63 68 65 63 6b | 73 20 74 61 6b 65 20 73 |ty check|s take s|
|00002450| 6f 6d 65 20 73 6d 61 6c | 6c 2c 20 62 75 74 20 66 |ome smal|l, but f|
|00002460| 69 6e 69 74 65 2c 20 74 | 69 6d 65 2e 20 41 73 20 |inite, t|ime. As |
|00002470| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 65 6c |the numb|er of el|
|00002480| 65 6d 65 6e 74 73 20 67 | 72 6f 77 73 2c 20 74 68 |ements g|rows, th|
|00002490| 65 20 74 69 6d 65 20 61 | 64 64 73 20 75 70 20 75 |e time a|dds up u|
|000024a0| 6e 74 69 6c 20 69 74 20 | 62 65 63 6f 6d 65 73 20 |ntil it |becomes |
|000024b0| 61 20 70 65 72 66 6f 72 | 6d 61 6e 63 65 20 70 72 |a perfor|mance pr|
|000024c0| 6f 62 6c 65 6d 2e 20 41 | 6e 6f 74 68 65 72 20 6c |oblem. A|nother l|
|000024d0| 69 6d 69 74 61 74 69 6f | 6e 20 62 72 6f 75 67 68 |imitatio|n brough|
|000024e0| 74 20 6f 75 74 20 62 79 | 20 74 68 65 20 64 61 74 |t out by| the dat|
|000024f0| 61 20 73 74 72 75 63 74 | 75 72 65 20 69 73 20 74 |a struct|ure is t|
|00002500| 68 65 20 6c 69 73 74 44 | 65 66 50 72 6f 63 2c 20 |he listD|efProc, |
|00002510| 74 68 65 20 6c 69 73 74 | 20 64 65 66 69 6e 69 74 |the list| definit|
|00002520| 69 6f 6e 20 70 72 6f 63 | 65 64 75 72 65 2e 20 53 |ion proc|edure. S|
|00002530| 69 6e 63 65 20 74 68 65 | 20 4c 69 73 74 20 4d 61 |ince the| List Ma|
|00002540| 6e 61 67 65 72 20 69 73 | 20 64 65 73 69 67 6e 65 |nager is| designe|
|00002550| 64 20 74 6f 20 62 65 20 | 61 73 20 67 65 6e 65 72 |d to be |as gener|
|00002560| 61 6c 20 70 75 72 70 6f | 73 65 20 61 73 20 70 6f |al purpo|se as po|
|00002570| 73 73 69 62 6c 65 2c 20 | 69 74 20 77 61 73 20 6e |ssible, |it was n|
|00002580| 65 63 65 73 73 61 72 79 | 20 74 6f 20 61 64 64 20 |ecessary| to add |
|00002590| 74 68 65 20 61 62 69 6c | 69 74 79 20 74 6f 20 70 |the abil|ity to p|
|000025a0| 6c 75 67 20 69 6e 20 61 | 20 6e 65 77 20 64 65 66 |lug in a| new def|
|000025b0| 70 72 6f 63 2e 20 54 68 | 69 73 20 68 61 73 20 72 |proc. Th|is has r|
|000025c0| 61 6d 69 66 69 63 61 74 | 69 6f 6e 73 20 66 6f 72 |amificat|ions for|
|000025d0| 20 73 70 65 65 64 2c 20 | 68 6f 77 65 76 65 72 2c | speed, |however,|
|000025e0| 20 73 69 6e 63 65 20 61 | 6c 6c 20 64 72 61 77 69 | since a|ll drawi|
|000025f0| 6e 67 20 68 61 73 20 74 | 6f 20 67 6f 20 74 68 72 |ng has t|o go thr|
|00002600| 6f 75 67 68 20 74 68 65 | 20 62 6f 74 74 6c 65 6e |ough the| bottlen|
|00002610| 65 63 6b 20 6f 66 20 74 | 68 65 20 64 65 66 70 72 |eck of t|he defpr|
|00002620| 6f 63 2e 20 49 74 20 77 | 6f 6e d5 74 20 63 6f 73 |oc. It w|on.t cos|
|00002630| 74 20 6d 75 63 68 20 65 | 61 63 68 20 74 69 6d 65 |t much e|ach time|
|00002640| 2c 20 62 75 74 20 69 74 | 20 77 69 6c 6c 20 61 64 |, but it| will ad|
|00002650| 64 20 75 70 20 6f 76 65 | 72 20 61 20 6c 61 72 67 |d up ove|r a larg|
|00002660| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 65 6c 6c |e number| of cell|
|00002670| 73 2e 0d 49 6e 20 6f 72 | 64 65 72 20 74 6f 20 67 |s..In or|der to g|
|00002680| 65 74 20 68 69 67 68 20 | 70 65 72 66 6f 72 6d 61 |et high |performa|
|00002690| 6e 63 65 20 6f 75 74 20 | 6f 66 20 74 68 69 73 20 |nce out |of this |
|000026a0| 74 79 70 65 20 6f 66 20 | 64 69 73 70 6c 61 79 2c |type of |display,|
|000026b0| 20 69 74 20 69 73 20 67 | 65 6e 65 72 61 6c 6c 79 | it is g|enerally|
|000026c0| 20 6e 65 63 65 73 73 61 | 72 79 20 74 6f 20 68 61 | necessa|ry to ha|
|000026d0| 76 65 20 61 73 20 6d 75 | 63 68 20 70 72 65 63 61 |ve as mu|ch preca|
|000026e0| 6c 63 75 6c 61 74 65 64 | 20 61 73 20 70 6f 73 73 |lculated| as poss|
|000026f0| 69 62 6c 65 2e 20 54 68 | 69 73 20 75 73 75 61 6c |ible. Th|is usual|
|00002700| 6c 79 20 6d 65 61 6e 73 | 20 68 61 76 69 6e 67 20 |ly means| having |
|00002710| 64 61 74 61 20 73 74 72 | 75 63 74 75 72 65 73 20 |data str|uctures |
|00002720| 77 68 69 63 68 20 6d 61 | 69 6e 74 61 69 6e 20 74 |which ma|intain t|
|00002730| 68 65 6d 73 65 6c 76 65 | 73 20 61 73 20 6d 75 63 |hemselve|s as muc|
|00002740| 68 20 61 73 20 70 6f 73 | 73 69 62 6c 65 2c 20 61 |h as pos|sible, a|
|00002750| 6e 64 20 77 68 69 63 68 | 20 64 6f 20 6e 6f 74 20 |nd which| do not |
|00002760| 72 65 71 75 69 72 65 20 | 63 68 61 6e 67 69 6e 67 |require |changing|
|00002770| 20 61 6e 79 74 68 69 6e | 67 20 6f 75 74 73 69 64 | anythin|g outsid|
|00002780| 65 20 6f 66 20 74 68 65 | 69 72 20 73 69 6e 67 6c |e of the|ir singl|
|00002790| 65 20 63 65 6c 6c 2c 20 | 74 68 75 73 20 61 76 6f |e cell, |thus avo|
|000027a0| 69 64 69 6e 67 20 69 6d | 70 61 63 74 69 6e 67 20 |iding im|pacting |
|000027b0| 74 68 65 20 65 6e 74 69 | 72 65 20 64 69 73 70 6c |the enti|re displ|
|000027c0| 61 79 2e 20 4c 69 6e 65 | 61 72 20 61 72 72 61 79 |ay. Line|ar array|
|000027d0| 73 20 64 6f 6e d5 74 20 | 63 6f 6d 65 20 75 6e 64 |s don.t |come und|
|000027e0| 65 72 20 74 68 69 73 20 | 63 61 74 65 67 6f 72 79 |er this |category|
|000027f0| 2c 20 73 69 6e 63 65 20 | 61 6e 79 20 63 68 61 6e |, since |any chan|
|00002800| 67 65 20 69 6d 70 61 63 | 74 73 20 61 6c 6c 20 74 |ge impac|ts all t|
|00002810| 68 65 20 6f 74 68 65 72 | 20 63 65 6c 6c 20 64 61 |he other| cell da|
|00002820| 74 61 20 69 6e 20 74 68 | 65 20 6c 69 73 74 2e 20 |ta in th|e list. |
|00002830| 54 6f 20 63 72 65 61 74 | 65 20 61 20 68 69 67 68 |To creat|e a high|
|00002840| 20 70 65 72 66 6f 72 6d | 61 6e 63 65 20 73 70 72 | perform|ance spr|
|00002850| 65 61 64 73 68 65 65 74 | 20 69 74 20 69 73 20 75 |eadsheet| it is u|
|00002860| 73 75 61 6c 6c 79 20 6e | 65 63 65 73 73 61 72 79 |sually n|ecessary|
|00002870| 20 74 6f 20 67 6f 20 74 | 6f 20 74 68 65 20 51 75 | to go t|o the Qu|
|00002880| 69 63 6b 44 72 61 77 20 | 6c 65 76 65 6c 20 69 6e |ickDraw |level in|
|00002890| 73 69 64 65 20 6f 66 20 | 61 20 73 74 61 6e 64 61 |side of |a standa|
|000028a0| 72 64 20 77 69 6e 64 6f | 77 2e 20 49 74 20 69 73 |rd windo|w. It is|
|000028b0| 20 6e 6f 74 20 74 79 70 | 69 63 61 6c 6c 79 20 6e | not typ|ically n|
|000028c0| 65 63 65 73 73 61 72 79 | 20 74 6f 20 62 65 20 66 |ecessary| to be f|
|000028d0| 75 6c 6c 79 20 67 65 6e | 65 72 61 6c 20 66 6f 72 |ully gen|eral for|
|000028e0| 20 61 20 73 70 65 63 69 | 66 69 63 20 74 79 70 65 | a speci|fic type|
|000028f0| 20 6f 66 20 64 61 74 61 | 2c 20 73 6f 20 74 68 65 | of data|, so the|
|00002900| 20 70 65 72 66 6f 72 6d | 61 6e 63 65 20 63 61 6e | perform|ance can|
|00002910| 20 62 65 20 69 6d 70 72 | 6f 76 65 64 20 6d 65 72 | be impr|oved mer|
|00002920| 65 6c 79 20 62 79 20 6b | 6e 6f 77 69 6e 67 20 74 |ely by k|nowing t|
|00002930| 68 65 20 74 79 70 65 20 | 6f 66 20 64 61 74 61 20 |he type |of data |
|00002940| 65 78 70 65 63 74 65 64 | 2e 20 54 6f 20 68 61 6e |expected|. To han|
|00002950| 64 6c 65 20 6c 61 72 67 | 65 20 6c 69 73 74 73 20 |dle larg|e lists |
|00002960| 6f 66 20 64 61 74 61 2c | 20 74 68 65 20 64 61 74 |of data,| the dat|
|00002970| 61 20 73 68 6f 75 6c 64 | 20 62 65 20 73 74 6f 72 |a should| be stor|
|00002980| 65 64 20 69 6e 20 70 6f | 77 65 72 66 75 6c 20 64 |ed in po|werful d|
|00002990| 61 74 61 20 73 74 72 75 | 63 74 75 72 65 73 2c 20 |ata stru|ctures, |
|000029a0| 61 6e 64 20 64 69 73 70 | 6c 61 79 65 64 20 77 69 |and disp|layed wi|
|000029b0| 74 68 20 63 75 73 74 6f | 6d 20 72 6f 75 74 69 6e |th custo|m routin|
|000029c0| 65 73 20 74 68 61 74 20 | 6b 6e 6f 77 20 74 68 65 |es that |know the|
|000029d0| 20 62 65 73 74 20 77 61 | 79 20 74 6f 20 64 72 61 | best wa|y to dra|
|000029e0| 77 20 74 68 65 20 64 61 | 74 61 2e 0d 44 6f 6e d5 |w the da|ta..Don.|
|000029f0| 74 20 62 65 20 66 6f 6f | 6c 65 64 20 62 79 20 74 |t be foo|led by t|
|00002a00| 68 65 20 72 69 63 68 6e | 65 73 73 20 61 6e 64 20 |he richn|ess and |
|00002a10| 67 65 6e 65 72 61 6c 20 | 70 75 72 70 6f 73 65 20 |general |purpose |
|00002a20| 69 6e 74 65 72 66 61 63 | 65 20 74 6f 20 74 68 65 |interfac|e to the|
|00002a30| 20 4c 69 73 74 20 4d 61 | 6e 61 67 65 72 2e 20 54 | List Ma|nager. T|
|00002a40| 68 65 20 4c 69 73 74 20 | 4d 61 6e 61 67 65 72 20 |he List |Manager |
|00002a50| 69 73 20 6e 6f 74 20 61 | 20 73 70 72 65 61 64 73 |is not a| spreads|
|00002a60| 68 65 65 74 2e 0d 44 69 | 61 6c 6f 67 20 77 69 74 |heet..Di|alog wit|
|00002a70| 68 20 74 68 65 20 64 65 | 76 69 6c 0d 54 68 65 20 |h the de|vil.The |
|00002a80| 44 69 61 6c 6f 67 20 4d | 61 6e 61 67 65 72 20 69 |Dialog M|anager i|
|00002a90| 73 20 76 65 72 79 20 61 | 74 74 72 61 63 74 69 76 |s very a|ttractiv|
|00002aa0| 65 2e 20 49 74 20 6c 6f | 6f 6b 73 20 6c 69 6b 65 |e. It lo|oks like|
|00002ab0| 20 69 74 20 77 69 6c 6c | 20 68 61 6e 64 6c 65 20 | it will| handle |
|00002ac0| 77 69 6e 64 6f 77 73 20 | 61 75 74 6f 6d 61 74 69 |windows |automati|
|00002ad0| 63 61 6c 6c 79 20 77 69 | 74 68 20 6e 6f 20 70 72 |cally wi|th no pr|
|00002ae0| 6f 67 72 61 6d 6d 65 72 | 20 69 6e 74 65 72 76 65 |ogrammer| interve|
|00002af0| 6e 74 69 6f 6e 2c 20 61 | 6e 64 20 63 61 6e 20 68 |ntion, a|nd can h|
|00002b00| 61 6e 64 6c 65 20 61 20 | 77 69 64 65 20 76 61 72 |andle a |wide var|
|00002b10| 69 65 74 79 20 6f 66 20 | 65 6c 65 6d 65 6e 74 73 |iety of |elements|
|00002b20| 2e 20 49 74 20 73 65 65 | 6d 73 20 74 6f 20 68 61 |. It see|ms to ha|
|00002b30| 6e 64 6c 65 20 63 6f 6e | 74 72 6f 6c 73 2c 20 73 |ndle con|trols, s|
|00002b40| 74 61 74 69 63 20 74 65 | 78 74 2c 20 65 64 69 74 |tatic te|xt, edit|
|00002b50| 61 62 6c 65 20 74 65 78 | 74 2c 20 61 6e 64 20 70 |able tex|t, and p|
|00002b60| 72 6f 76 69 64 65 73 20 | 61 20 77 61 79 20 74 6f |rovides |a way to|
|00002b70| 20 64 69 73 70 6c 61 79 | 20 67 72 61 70 68 69 63 | display| graphic|
|00002b80| 20 65 6c 65 6d 65 6e 74 | 73 20 61 73 20 77 65 6c | element|s as wel|
|00002b90| 6c 2e 20 49 74 20 6d 75 | 73 74 20 62 65 20 74 68 |l. It mu|st be th|
|00002ba0| 65 20 62 65 73 74 20 70 | 6f 73 73 69 62 6c 65 20 |e best p|ossible |
|00002bb0| 77 6f 72 6c 64 20 73 69 | 6e 63 65 20 74 68 65 20 |world si|nce the |
|00002bc0| 69 6e 74 65 72 66 61 63 | 65 20 69 73 20 76 65 72 |interfac|e is ver|
|00002bd0| 79 20 73 74 72 61 69 67 | 68 74 66 6f 72 77 61 72 |y straig|htforwar|
|00002be0| 64 2c 20 61 6e 64 20 73 | 6f 20 6d 75 63 68 20 69 |d, and s|o much i|
|00002bf0| 73 20 64 6f 6e 65 20 66 | 6f 72 20 74 68 65 20 63 |s done f|or the c|
|00002c00| 61 6c 6c 65 72 2e 20 41 | 74 20 6c 61 73 74 2c 20 |aller. A|t last, |
|00002c10| 61 20 73 75 70 65 72 62 | 6c 79 20 67 65 6e 65 72 |a superb|ly gener|
|00002c20| 61 6c 20 70 75 72 70 6f | 73 65 20 6d 61 6e 61 67 |al purpo|se manag|
|00002c30| 65 72 20 74 68 61 74 20 | 63 61 6e 20 62 65 20 75 |er that |can be u|
|00002c40| 73 65 64 20 66 6f 72 20 | 61 6e 79 20 69 6e 74 65 |sed for |any inte|
|00002c50| 72 66 61 63 65 2e 20 53 | 75 64 64 65 6e 6c 79 2c |rface. S|uddenly,|
|00002c60| 20 72 65 61 6c 69 74 79 | 20 72 65 61 72 73 20 69 | reality| rears i|
|00002c70| 74 73 20 75 67 6c 79 20 | 68 65 61 64 20 61 67 61 |ts ugly |head aga|
|00002c80| 69 6e 2c 20 61 6e 64 20 | 69 74 20 69 73 20 69 6e |in, and |it is in|
|00002c90| 74 65 72 65 73 74 69 6e | 67 20 74 6f 20 6e 6f 74 |terestin|g to not|
|00002ca0| 65 20 74 68 61 74 20 74 | 68 69 73 20 66 72 65 65 |e that t|his free|
|00002cb0| 20 6c 75 6e 63 68 20 61 | 63 74 75 61 6c 6c 79 20 | lunch a|ctually |
|00002cc0| 72 65 71 75 69 72 65 73 | 20 6d 6f 72 65 20 77 6f |requires| more wo|
|00002cd0| 72 6b 20 74 68 61 6e 20 | 64 6f 69 6e 67 20 74 68 |rk than |doing th|
|00002ce0| 65 20 73 61 6d 65 20 6a | 6f 62 20 75 73 69 6e 67 |e same j|ob using|
|00002cf0| 20 74 68 65 20 57 69 6e | 64 6f 77 20 4d 61 6e 61 | the Win|dow Mana|
|00002d00| 67 65 72 2c 20 51 75 69 | 63 6b 44 72 61 77 2c 20 |ger, Qui|ckDraw, |
|00002d10| 54 65 78 74 45 64 69 74 | 2c 20 61 6e 64 20 74 68 |TextEdit|, and th|
|00002d20| 65 20 43 6f 6e 74 72 6f | 6c 20 4d 61 6e 61 67 65 |e Contro|l Manage|
|00002d30| 72 2e 20 57 68 79 3f 20 | 54 68 65 72 65 20 69 73 |r. Why? |There is|
|00002d40| 20 61 20 68 69 64 64 65 | 6e 20 63 6f 73 74 20 69 | a hidde|n cost i|
|00002d50| 6e 20 74 65 72 6d 73 20 | 6f 66 20 67 65 74 74 69 |n terms |of getti|
|00002d60| 6e 67 20 74 68 65 20 44 | 69 61 6c 6f 67 20 4d 61 |ng the D|ialog Ma|
|00002d70| 6e 61 67 65 72 20 74 6f | 20 64 6f 20 65 78 61 63 |nager to| do exac|
|00002d80| 74 6c 79 20 74 68 65 20 | 64 65 73 69 72 65 64 20 |tly the |desired |
|00002d90| 74 61 73 6b 2e 20 48 65 | 72 65 20 61 67 61 69 6e |task. He|re again|
|00002da0| 2c 20 69 66 20 74 68 65 | 20 65 6e 64 20 72 65 73 |, if the| end res|
|00002db0| 75 6c 74 20 69 73 20 73 | 75 70 70 6f 73 65 64 20 |ult is s|upposed |
|00002dc0| 74 6f 20 62 65 20 61 20 | 73 69 6d 70 6c 65 20 64 |to be a |simple d|
|00002dd0| 69 61 6c 6f 67 20 77 69 | 74 68 20 61 20 66 65 77 |ialog wi|th a few|
|00002de0| 20 63 6f 6e 74 72 6f 6c | 73 2c 20 74 68 65 20 44 | control|s, the D|
|00002df0| 69 61 6c 6f 67 20 4d 61 | 6e 61 67 65 72 20 69 73 |ialog Ma|nager is|
|00002e00| 20 73 75 69 74 65 64 20 | 74 6f 20 74 68 65 20 6a | suited |to the j|
|00002e10| 6f 62 2e 20 54 68 61 74 | 20 69 73 20 77 68 61 74 |ob. That| is what|
|00002e20| 20 69 74 20 77 61 73 20 | 77 72 69 74 74 65 6e 20 | it was |written |
|00002e30| 74 6f 20 64 6f 2e 20 49 | 74 20 77 61 73 20 6e 6f |to do. I|t was no|
|00002e40| 74 20 64 65 73 69 67 6e | 65 64 20 61 73 20 61 20 |t design|ed as a |
|00002e50| 77 61 79 20 74 6f 20 68 | 61 6e 64 6c 65 20 74 68 |way to h|andle th|
|00002e60| 65 20 66 75 6c 6c 20 69 | 6e 74 65 72 66 61 63 65 |e full i|nterface|
|00002e70| 20 66 6f 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | for app|lication|
|00002e80| 73 2e 0d 41 73 20 61 6e | 20 65 78 61 6d 70 6c 65 |s..As an| example|
|00002e90| 20 6f 66 20 61 20 68 69 | 64 64 65 6e 20 63 6f 73 | of a hi|dden cos|
|00002ea0| 74 2c 20 77 68 61 74 20 | 69 66 20 74 68 65 20 69 |t, what |if the i|
|00002eb0| 6e 74 65 72 66 61 63 65 | 20 72 65 71 75 69 72 65 |nterface| require|
|00002ec0| 73 20 74 68 61 74 20 74 | 68 65 20 70 72 6f 67 72 |s that t|he progr|
|00002ed0| 61 6d 20 62 65 20 61 62 | 6c 65 20 74 6f 20 68 61 |am be ab|le to ha|
|00002ee0| 6e 64 6c 65 20 61 20 64 | 69 73 6b 20 69 6e 73 65 |ndle a d|isk inse|
|00002ef0| 72 74 65 64 20 65 76 65 | 6e 74 3f 20 49 66 20 74 |rted eve|nt? If t|
|00002f00| 68 69 73 20 69 73 20 70 | 61 72 74 20 6f 66 20 61 |his is p|art of a|
|00002f10| 20 4d 6f 64 61 6c 44 69 | 61 6c 6f 67 2c 20 74 68 | ModalDi|alog, th|
|00002f20| 61 74 20 72 65 71 75 69 | 72 65 73 20 70 61 73 73 |at requi|res pass|
|00002f30| 69 6e 67 20 61 20 73 70 | 65 63 69 61 6c 20 66 69 |ing a sp|ecial fi|
|00002f40| 6c 74 65 72 50 72 6f 63 | 20 74 6f 20 74 68 65 20 |lterProc| to the |
|00002f50| 64 69 61 6c 6f 67 20 77 | 68 65 6e 20 69 74 20 69 |dialog w|hen it i|
|00002f60| 73 20 63 61 6c 6c 65 64 | 2e 20 49 74 20 69 73 20 |s called|. It is |
|00002f70| 6e 6f 77 20 6e 65 63 65 | 73 73 61 72 79 20 74 6f |now nece|ssary to|
|00002f80| 20 66 75 6c 6c 79 20 75 | 6e 64 65 72 73 74 61 6e | fully u|nderstan|
|00002f90| 64 20 68 6f 77 20 74 68 | 65 20 70 72 6f 63 20 67 |d how th|e proc g|
|00002fa0| 65 74 73 20 63 61 6c 6c | 65 64 2c 20 77 68 61 74 |ets call|ed, what|
|00002fb0| 20 69 73 20 6c 65 67 61 | 6c 2c 20 61 6e 64 20 77 | is lega|l, and w|
|00002fc0| 68 61 74 20 74 68 65 20 | 70 72 6f 63 20 69 73 20 |hat the |proc is |
|00002fd0| 72 65 71 75 69 72 65 64 | 20 74 6f 20 64 6f 2e 20 |required| to do. |
|00002fe0| 54 68 61 74 20 6d 61 79 | 20 6e 6f 74 20 62 65 20 |That may| not be |
|00002ff0| 74 6f 6f 20 68 61 72 64 | 2c 20 62 75 74 20 69 74 |too hard|, but it|
|00003000| 20 69 73 20 74 69 6d 65 | 20 73 70 65 6e 74 20 6f | is time| spent o|
|00003010| 6e 20 73 6f 6d 65 74 68 | 69 6e 67 20 74 68 61 74 |n someth|ing that|
|00003020| 20 68 61 73 20 6e 6f 74 | 68 69 6e 67 20 74 6f 20 | has not|hing to |
|00003030| 64 6f 20 77 69 74 68 20 | 67 65 74 74 69 6e 67 20 |do with |getting |
|00003040| 74 68 65 20 6a 6f 62 20 | 64 6f 6e 65 3b 20 69 74 |the job |done; it|
|00003050| 20 69 73 20 6f 6e 6c 79 | 20 74 69 6d 65 20 73 70 | is only| time sp|
|00003060| 65 6e 74 20 75 6e 64 65 | 72 73 74 61 6e 64 69 6e |ent unde|rstandin|
|00003070| 67 20 68 6f 77 20 74 68 | 65 20 44 69 61 6c 6f 67 |g how th|e Dialog|
|00003080| 20 4d 61 6e 61 67 65 72 | 20 77 6f 72 6b 73 2e 20 | Manager| works. |
|00003090| 0d 41 6e 6f 74 68 65 72 | 20 65 78 61 6d 70 6c 65 |.Another| example|
|000030a0| 20 69 73 20 61 64 64 69 | 6e 67 20 73 6f 6d 65 74 | is addi|ng somet|
|000030b0| 68 69 6e 67 20 74 6f 20 | 61 20 64 69 61 6c 6f 67 |hing to |a dialog|
|000030c0| 20 77 68 69 63 68 20 72 | 65 71 75 69 72 65 73 20 | which r|equires |
|000030d0| 73 70 65 63 69 61 6c 20 | 73 65 74 75 70 20 61 6e |special |setup an|
|000030e0| 64 20 75 70 64 61 74 65 | 20 72 6f 75 74 69 6e 65 |d update| routine|
|000030f0| 73 2e 20 20 48 65 72 65 | 20 61 67 61 69 6e 2c 20 |s. Here| again, |
|00003100| 69 74 20 69 73 20 6e 6f | 74 20 74 6f 6f 20 68 61 |it is no|t too ha|
|00003110| 72 64 20 74 6f 20 66 69 | 67 75 72 65 20 6f 75 74 |rd to fi|gure out|
|00003120| 2c 20 62 75 74 20 69 74 | 20 69 73 20 74 69 6d 65 |, but it| is time|
|00003130| 20 73 70 65 6e 74 20 74 | 72 79 69 6e 67 20 74 6f | spent t|rying to|
|00003140| 20 74 65 6c 6c 20 74 68 | 65 20 44 69 61 6c 6f 67 | tell th|e Dialog|
|00003150| 20 4d 61 6e 61 67 65 72 | 20 77 68 61 74 20 73 68 | Manager| what sh|
|00003160| 6f 75 6c 64 20 62 65 20 | 64 6f 6e 65 2e 20 54 68 |ould be |done. Th|
|00003170| 65 72 65 20 61 72 65 20 | 6c 69 74 65 72 61 6c 6c |ere are |literall|
|00003180| 79 20 68 75 6e 64 72 65 | 64 73 20 6f 66 20 74 68 |y hundre|ds of th|
|00003190| 65 73 65 20 73 70 65 63 | 69 61 6c 20 63 61 73 65 |ese spec|ial case|
|000031a0| 73 20 61 6e 64 20 74 6f | 75 67 68 2c 20 73 6d 61 |s and to|ugh, sma|
|000031b0| 6c 6c 20 70 72 6f 62 6c | 65 6d 73 20 77 68 65 6e |ll probl|ems when|
|000031c0| 20 74 72 79 69 6e 67 20 | 74 6f 20 65 78 74 65 6e | trying |to exten|
|000031d0| 64 20 61 20 64 69 61 6c | 6f 67 20 70 61 73 74 20 |d a dial|og past |
|000031e0| 61 20 73 69 6d 70 6c 65 | 20 69 6e 74 65 72 66 61 |a simple| interfa|
|000031f0| 63 65 2e 20 48 75 6e 64 | 72 65 64 73 20 6f 66 20 |ce. Hund|reds of |
|00003200| 4d 61 63 20 70 72 6f 67 | 72 61 6d 6d 65 72 73 20 |Mac prog|rammers |
|00003210| 68 61 76 65 20 77 61 73 | 74 65 64 20 68 75 6e 64 |have was|ted hund|
|00003220| 72 65 64 73 20 28 74 68 | 6f 75 73 61 6e 64 73 3f |reds (th|ousands?|
|00003230| 29 20 6f 66 20 68 6f 75 | 72 73 20 66 69 6e 64 69 |) of hou|rs findi|
|00003240| 6e 67 20 77 61 79 73 20 | 74 6f 20 63 6f 65 72 63 |ng ways |to coerc|
|00003250| 65 20 74 68 65 20 44 69 | 61 6c 6f 67 20 4d 61 6e |e the Di|alog Man|
|00003260| 61 67 65 72 20 69 6e 74 | 6f 20 72 75 6e 6e 69 6e |ager int|o runnin|
|00003270| 67 20 61 20 77 69 6e 64 | 6f 77 20 69 6e 20 61 20 |g a wind|ow in a |
|00003280| 73 70 65 63 69 61 6c 20 | 77 61 79 2e 0d 48 6f 77 |special |way..How|
|00003290| 20 61 62 6f 75 74 20 61 | 64 64 69 6e 67 20 61 20 | about a|dding a |
|000032a0| 73 70 65 63 69 61 6c 20 | 63 6f 6e 74 72 6f 6c 20 |special |control |
|000032b0| 74 6f 20 61 20 64 69 61 | 6c 6f 67 3f 20 53 65 65 |to a dia|log? See|
|000032c0| 6d 73 20 73 74 72 61 69 | 67 68 74 66 6f 72 77 61 |ms strai|ghtforwa|
|000032d0| 72 64 2e 2e 2e 20 48 6f | 77 20 61 62 6f 75 74 20 |rd... Ho|w about |
|000032e0| 6d 61 6b 69 6e 67 20 69 | 74 20 6d 6f 64 65 6c 65 |making i|t modele|
|000032f0| 73 73 20 69 6e 73 74 65 | 61 64 3f 20 48 6f 77 20 |ss inste|ad? How |
|00003300| 61 62 6f 75 74 20 6d 6f | 76 69 6e 67 20 73 6f 6d |about mo|ving som|
|00003310| 65 20 69 74 65 6d 73 20 | 69 6e 20 74 68 65 20 64 |e items |in the d|
|00003320| 69 61 6c 6f 67 20 6f 66 | 66 20 73 63 72 65 65 6e |ialog of|f screen|
|00003330| 3f 20 48 6f 77 20 61 62 | 6f 75 74 20 6d 6f 76 69 |? How ab|out movi|
|00003340| 6e 67 20 61 6e 20 45 64 | 69 74 54 65 78 74 20 69 |ng an Ed|itText i|
|00003350| 74 65 6d 20 6f 66 66 20 | 73 63 72 65 65 6e 3f 20 |tem off |screen? |
|00003360| 48 6f 77 20 61 62 6f 75 | 74 20 77 61 6e 74 69 6e |How abou|t wantin|
|00003370| 67 20 74 6f 20 63 68 61 | 6e 67 65 20 74 68 65 20 |g to cha|nge the |
|00003380| 64 69 61 6c 6f 67 20 74 | 65 6d 70 6c 61 74 65 20 |dialog t|emplate |
|00003390| 62 65 66 6f 72 65 20 74 | 68 65 20 64 69 61 6c 6f |before t|he dialo|
|000033a0| 67 20 69 73 20 75 73 65 | 64 3f 20 48 6f 77 20 61 |g is use|d? How a|
|000033b0| 62 6f 75 74 20 61 6c 6c | 20 6f 66 20 74 68 65 20 |bout all| of the |
|000033c0| 61 62 6f 76 65 20 61 6c | 6c 20 61 74 20 74 68 65 |above al|l at the|
|000033d0| 20 73 61 6d 65 20 74 69 | 6d 65 3f 0d 48 6f 77 20 | same ti|me?.How |
|000033e0| 61 62 6f 75 74 20 73 6b | 69 70 70 69 6e 67 20 69 |about sk|ipping i|
|000033f0| 74 20 61 6e 64 20 75 73 | 69 6e 67 20 74 68 65 20 |t and us|ing the |
|00003400| 57 69 6e 64 6f 77 20 4d | 61 6e 61 67 65 72 20 69 |Window M|anager i|
|00003410| 6e 73 74 65 61 64 3f 0d | 54 68 65 72 65 20 61 72 |nstead?.|There ar|
|00003420| 65 20 61 20 6e 75 6d 62 | 65 72 20 6f 66 20 70 65 |e a numb|er of pe|
|00003430| 72 66 6f 72 6d 61 6e 63 | 65 20 70 65 6e 61 6c 74 |rformanc|e penalt|
|00003440| 69 65 73 20 66 6f 72 20 | 6c 61 72 67 65 20 64 69 |ies for |large di|
|00003450| 61 6c 6f 67 73 20 61 73 | 20 77 65 6c 6c 2e 20 41 |alogs as| well. A|
|00003460| 20 64 69 61 6c 6f 67 20 | 77 69 74 68 20 35 30 20 | dialog |with 50 |
|00003470| 72 61 64 69 6f 20 62 75 | 74 74 6f 6e 73 20 77 69 |radio bu|ttons wi|
|00003480| 6c 6c 20 62 65 20 75 6e | 61 63 63 65 70 74 61 62 |ll be un|acceptab|
|00003490| 6c 79 20 73 6c 6f 77 2e | 20 49 74 20 73 68 6f 75 |ly slow.| It shou|
|000034a0| 6c 64 20 62 65 20 6e 6f | 74 65 64 20 74 68 61 74 |ld be no|ted that|
|000034b0| 20 74 68 65 20 44 69 61 | 6c 6f 67 20 4d 61 6e 61 | the Dia|log Mana|
|000034c0| 67 65 72 20 63 61 6e 6e | 6f 74 20 6b 6e 6f 77 20 |ger cann|ot know |
|000034d0| 74 68 65 20 64 65 73 69 | 72 65 64 20 70 75 72 70 |the desi|red purp|
|000034e0| 6f 73 65 20 6f 66 20 74 | 68 65 20 62 75 74 74 6f |ose of t|he butto|
|000034f0| 6e 73 2c 20 73 6f 20 69 | 74 20 63 61 6e 6e 6f 74 |ns, so i|t cannot|
|00003500| 20 73 65 74 20 74 68 65 | 20 62 75 74 74 6f 6e 2c | set the| button,|
|00003510| 20 6e 6f 72 20 63 6c 65 | 61 72 20 61 6e 6f 74 68 | nor cle|ar anoth|
|00003520| 65 72 20 69 6e 20 74 68 | 65 20 73 61 6d 65 20 73 |er in th|e same s|
|00003530| 65 74 2e 20 49 6e 20 6f | 72 64 65 72 20 74 6f 20 |et. In o|rder to |
|00003540| 69 6d 70 6c 65 6d 65 6e | 74 20 74 68 65 20 61 63 |implemen|t the ac|
|00003550| 74 75 61 6c 20 72 61 64 | 69 6f 20 62 75 74 74 6f |tual rad|io butto|
|00003560| 6e 20 61 73 70 65 63 74 | 20 6f 66 20 61 20 73 65 |n aspect| of a se|
|00003570| 74 20 6f 66 20 63 6f 6e | 74 72 6f 6c 73 2c 20 69 |t of con|trols, i|
|00003580| 74 20 68 61 73 20 74 6f | 20 62 65 20 64 6f 6e 65 |t has to| be done|
|00003590| 20 62 79 20 74 68 65 20 | 63 61 6c 6c 69 6e 67 20 | by the |calling |
|000035a0| 70 72 6f 67 72 61 6d 2e | 20 41 74 20 74 68 69 73 |program.| At this|
|000035b0| 20 70 6f 69 6e 74 2c 20 | 74 68 65 20 6f 6e 6c 79 | point, |the only|
|000035c0| 20 74 68 69 6e 67 20 74 | 68 65 20 44 69 61 6c 6f | thing t|he Dialo|
|000035d0| 67 20 4d 61 6e 61 67 65 | 72 20 69 73 20 68 61 6e |g Manage|r is han|
|000035e0| 64 6c 69 6e 67 20 69 73 | 20 74 68 65 20 63 72 65 |dling is| the cre|
|000035f0| 61 74 69 6f 6e 20 61 6e | 64 20 64 72 61 77 69 6e |ation an|d drawin|
|00003600| 67 20 6f 66 20 74 68 65 | 20 63 6f 6e 74 72 6f 6c |g of the| control|
|00003610| 73 2c 20 77 68 69 63 68 | 20 63 61 6e 20 65 61 73 |s, which| can eas|
|00003620| 69 6c 79 20 62 65 20 64 | 6f 6e 65 20 77 69 74 68 |ily be d|one with|
|00003630| 20 47 65 74 4e 65 77 43 | 6f 6e 74 72 6f 6c 20 61 | GetNewC|ontrol a|
|00003640| 6e 64 20 44 72 61 77 43 | 6f 6e 74 72 6f 6c 73 2e |nd DrawC|ontrols.|
|00003650| 20 54 68 65 20 44 69 61 | 6c 6f 67 20 4d 61 6e 61 | The Dia|log Mana|
|00003660| 67 65 72 20 61 63 74 75 | 61 6c 6c 79 20 67 65 74 |ger actu|ally get|
|00003670| 73 20 69 6e 20 74 68 65 | 20 77 61 79 20 6f 66 20 |s in the| way of |
|00003680| 61 20 6d 6f 72 65 20 63 | 6f 6d 70 6c 65 78 20 69 |a more c|omplex i|
|00003690| 6e 74 65 72 66 61 63 65 | 2e 20 4c 6f 6f 6b 69 6e |nterface|. Lookin|
|000036a0| 67 20 69 6e 74 6f 20 74 | 68 65 20 64 61 74 61 20 |g into t|he data |
|000036b0| 73 74 72 75 63 74 75 72 | 65 73 20 73 68 6f 77 73 |structur|es shows|
|000036c0| 20 74 68 61 74 20 74 68 | 65 20 6c 69 73 74 20 6f | that th|e list o|
|000036d0| 66 20 69 74 65 6d 73 20 | 69 6e 20 61 20 64 69 61 |f items |in a dia|
|000036e0| 6c 6f 67 20 69 73 20 61 | 20 6c 69 6e 65 61 72 20 |log is a| linear |
|000036f0| 6c 69 73 74 2e 20 41 6c | 73 6f 20 6f 66 20 6e 6f |list. Al|so of no|
|00003700| 74 65 20 69 73 20 74 68 | 61 74 20 74 68 65 72 65 |te is th|at there|
|00003710| 20 61 72 65 20 6e 6f 20 | 6f 66 66 73 65 74 73 20 | are no |offsets |
|00003720| 74 6f 20 74 68 65 20 76 | 61 72 69 6f 75 73 20 69 |to the v|arious i|
|00003730| 74 65 6d 73 21 20 54 68 | 69 73 20 69 73 20 73 69 |tems! Th|is is si|
|00003740| 67 6e 69 66 69 63 61 6e | 74 20 62 65 63 61 75 73 |gnifican|t becaus|
|00003750| 65 20 69 74 20 6d 65 61 | 6e 73 20 74 68 61 74 20 |e it mea|ns that |
|00003760| 74 68 65 20 44 69 61 6c | 6f 67 20 4d 61 6e 61 67 |the Dial|og Manag|
|00003770| 65 72 20 68 61 73 20 74 | 6f 20 64 72 69 76 65 20 |er has t|o drive |
|00003780| 74 68 72 6f 75 67 68 20 | 74 68 65 20 65 6e 74 69 |through |the enti|
|00003790| 72 65 20 6c 69 73 74 20 | 6f 66 20 69 74 65 6d 73 |re list |of items|
|000037a0| 20 66 6f 72 20 65 76 65 | 72 79 20 73 69 6e 67 6c | for eve|ry singl|
|000037b0| 65 20 6f 70 65 72 61 74 | 69 6f 6e 20 69 74 20 70 |e operat|ion it p|
|000037c0| 65 72 66 6f 72 6d 73 2e | 20 49 66 20 69 74 20 67 |erforms.| If it g|
|000037d0| 65 74 73 20 61 6e 20 75 | 70 64 61 74 65 20 65 76 |ets an u|pdate ev|
|000037e0| 65 6e 74 20 69 74 20 68 | 61 73 20 74 6f 20 74 72 |ent it h|as to tr|
|000037f0| 61 76 65 72 73 65 20 74 | 68 65 20 6c 69 73 74 2e |averse t|he list.|
|00003800| 20 49 66 20 69 74 20 67 | 65 74 73 20 61 20 6d 6f | If it g|ets a mo|
|00003810| 75 73 65 20 65 76 65 6e | 74 20 69 74 20 68 61 73 |use even|t it has|
|00003820| 20 74 6f 20 74 72 61 76 | 65 72 73 65 20 74 68 65 | to trav|erse the|
|00003830| 20 6c 69 73 74 2e 20 54 | 68 69 73 20 63 61 6e 6e | list. T|his cann|
|00003840| 6f 74 20 62 65 20 65 78 | 70 65 63 74 65 64 20 74 |ot be ex|pected t|
|00003850| 6f 20 62 65 20 66 61 73 | 74 20 77 69 74 68 20 31 |o be fas|t with 1|
|00003860| 30 30 20 69 74 65 6d 73 | 2e 20 0d 41 6e 6f 74 68 |00 items|. .Anoth|
|00003870| 65 72 20 70 65 72 66 6f | 72 6d 61 6e 63 65 20 70 |er perfo|rmance p|
|00003880| 72 6f 62 6c 65 6d 20 66 | 6f 72 20 73 6f 6d 65 20 |roblem f|or some |
|00003890| 70 72 6f 67 72 61 6d 6d | 65 72 73 20 69 73 20 74 |programm|ers is t|
|000038a0| 68 65 20 73 69 6d 70 6c | 65 20 64 72 61 77 69 6e |he simpl|e drawin|
|000038b0| 67 20 73 63 68 65 6d 65 | 20 75 73 65 64 20 62 79 |g scheme| used by|
|000038c0| 20 74 68 65 20 44 69 61 | 6c 6f 67 20 4d 61 6e 61 | the Dia|log Mana|
|000038d0| 67 65 72 2e 20 49 66 20 | 61 20 64 69 61 6c 6f 67 |ger. If |a dialog|
|000038e0| 20 68 61 73 20 73 6f 6d | 65 20 69 74 65 6d 73 20 | has som|e items |
|000038f0| 74 68 61 74 20 61 72 65 | 20 6f 66 66 73 63 72 65 |that are| offscre|
|00003900| 65 6e 2c 20 74 68 65 79 | 20 67 65 74 20 64 72 61 |en, they| get dra|
|00003910| 77 6e 20 64 75 72 69 6e | 67 20 75 70 64 61 74 65 |wn durin|g update|
|00003920| 20 65 76 65 6e 74 73 20 | 61 6e 79 77 61 79 2e 20 | events |anyway. |
|00003930| 54 68 65 20 44 69 61 6c | 6f 67 20 4d 61 6e 61 67 |The Dial|og Manag|
|00003940| 65 72 20 77 69 6c 6c 20 | 74 72 61 76 65 72 73 65 |er will |traverse|
|00003950| 20 74 68 65 20 6c 69 73 | 74 20 61 6e 64 20 64 72 | the lis|t and dr|
|00003960| 61 77 20 65 61 63 68 20 | 69 74 65 6d 2c 20 77 68 |aw each |item, wh|
|00003970| 65 74 68 65 72 20 69 74 | 20 69 73 20 6f 6e 20 73 |ether it| is on s|
|00003980| 63 72 65 65 6e 20 6f 72 | 20 6e 6f 74 2e 20 54 68 |creen or| not. Th|
|00003990| 69 73 20 63 6f 6d 65 73 | 20 66 72 6f 6d 20 74 68 |is comes| from th|
|000039a0| 65 20 6f 72 69 67 69 6e | 61 6c 20 64 65 73 69 67 |e origin|al desig|
|000039b0| 6e 20 6f 66 20 74 68 65 | 20 44 69 61 6c 6f 67 20 |n of the| Dialog |
|000039c0| 4d 61 6e 61 67 65 72 2c | 20 69 6e 20 74 68 61 74 |Manager,| in that|
|000039d0| 20 69 74 20 77 61 73 20 | 6e 65 76 65 72 20 69 6e | it was |never in|
|000039e0| 74 65 6e 64 65 64 20 74 | 6f 20 68 61 6e 64 6c 65 |tended t|o handle|
|000039f0| 20 68 75 6e 64 72 65 64 | 73 20 6f 66 20 69 74 65 | hundred|s of ite|
|00003a00| 6d 73 2c 20 6f 72 20 69 | 74 65 6d 73 20 6f 66 66 |ms, or i|tems off|
|00003a10| 20 73 63 72 65 65 6e 2e | 0d 53 6f 6d 65 20 72 75 | screen.|.Some ru|
|00003a20| 6c 65 73 20 6f 66 20 74 | 68 75 6d 62 3a 20 49 66 |les of t|humb: If|
|00003a30| 20 74 68 65 72 65 20 61 | 72 65 20 6d 6f 72 65 20 | there a|re more |
|00003a40| 74 68 61 6e 20 32 30 20 | 69 74 65 6d 73 20 69 6e |than 20 |items in|
|00003a50| 20 74 68 65 20 64 69 61 | 6c 6f 67 20 69 74 20 73 | the dia|log it s|
|00003a60| 68 6f 75 6c 64 20 62 65 | 20 61 20 73 74 61 6e 64 |hould be| a stand|
|00003a70| 61 72 64 20 77 69 6e 64 | 6f 77 2e 20 49 66 20 61 |ard wind|ow. If a|
|00003a80| 20 63 6f 6d 70 6c 69 63 | 61 74 65 64 20 63 6f 6e | complic|ated con|
|00003a90| 74 72 6f 6c 20 6c 69 6b | 65 20 61 20 73 63 72 6f |trol lik|e a scro|
|00003aa0| 6c 6c 20 62 61 72 20 69 | 73 20 6e 65 65 64 65 64 |ll bar i|s needed|
|00003ab0| 2c 20 69 74 20 73 68 6f | 75 6c 64 20 62 65 20 61 |, it sho|uld be a|
|00003ac0| 20 73 74 61 6e 64 61 72 | 64 20 77 69 6e 64 6f 77 | standar|d window|
|00003ad0| 2e 20 49 66 20 74 68 65 | 72 65 20 61 72 65 20 69 |. If the|re are i|
|00003ae0| 74 65 6d 73 20 6f 66 66 | 73 63 72 65 65 6e 2c 20 |tems off|screen, |
|00003af0| 69 74 20 73 68 6f 75 6c | 64 20 62 65 20 61 20 73 |it shoul|d be a s|
|00003b00| 74 61 6e 64 61 72 64 20 | 77 69 6e 64 6f 77 2e 20 |tandard |window. |
|00003b10| 49 66 20 74 68 65 72 65 | 20 69 73 20 61 20 70 69 |If there| is a pi|
|00003b20| 63 74 6f 72 69 61 6c 20 | 69 6e 64 69 63 61 74 6f |ctorial |indicato|
|00003b30| 72 20 6c 69 6b 65 20 61 | 20 70 72 6f 67 72 65 73 |r like a| progres|
|00003b40| 73 20 69 6e 64 69 63 61 | 74 6f 72 2c 20 69 74 20 |s indica|tor, it |
|00003b50| 73 68 6f 75 6c 64 20 62 | 65 20 61 20 73 74 61 6e |should b|e a stan|
|00003b60| 64 61 72 64 20 77 69 6e | 64 6f 77 2e 20 49 66 20 |dard win|dow. If |
|00003b70| 69 74 20 69 73 20 61 20 | 6d 6f 64 65 6c 65 73 73 |it is a |modeless|
|00003b80| 20 64 69 61 6c 6f 67 20 | 69 74 20 73 68 6f 75 6c | dialog |it shoul|
|00003b90| 64 20 62 65 20 61 20 73 | 74 61 6e 64 61 72 64 20 |d be a s|tandard |
|00003ba0| 77 69 6e 64 6f 77 2e 20 | 49 66 20 61 6e 79 20 6f |window. |If any o|
|00003bb0| 66 20 74 68 65 20 69 74 | 65 6d 73 20 61 72 65 20 |f the it|ems are |
|00003bc0| 6d 6f 76 61 62 6c 65 20 | 69 6e 20 74 68 65 20 64 |movable |in the d|
|00003bd0| 69 61 6c 6f 67 2c 20 69 | 74 20 73 68 6f 75 6c 64 |ialog, i|t should|
|00003be0| 20 62 65 20 61 20 73 74 | 61 6e 64 61 72 64 20 77 | be a st|andard w|
|00003bf0| 69 6e 64 6f 77 2e 20 49 | 66 20 69 74 20 69 73 20 |indow. I|f it is |
|00003c00| 6e 65 63 65 73 73 61 72 | 79 20 74 6f 20 75 73 65 |necessar|y to use|
|00003c10| 20 61 20 66 69 6c 74 65 | 72 50 72 6f 63 20 74 6f | a filte|rProc to|
|00003c20| 20 61 64 64 20 66 75 6e | 63 74 69 6f 6e 61 6c 69 | add fun|ctionali|
|00003c30| 74 79 2c 20 69 74 20 73 | 68 6f 75 6c 64 20 62 65 |ty, it s|hould be|
|00003c40| 20 61 20 73 74 61 6e 64 | 61 72 64 20 77 69 6e 64 | a stand|ard wind|
|00003c50| 6f 77 2e 20 20 49 66 20 | 69 6e 20 64 6f 75 62 74 |ow. If |in doubt|
|00003c60| 2c 20 69 74 20 73 68 6f | 75 6c 64 20 70 72 6f 62 |, it sho|uld prob|
|00003c70| 61 62 6c 79 20 62 65 20 | 61 20 73 74 61 6e 64 61 |ably be |a standa|
|00003c80| 72 64 20 77 69 6e 64 6f | 77 2e 0d 48 61 6e 64 6c |rd windo|w..Handl|
|00003c90| 69 6e 67 20 61 20 64 69 | 61 6c 6f 67 20 77 69 74 |ing a di|alog wit|
|00003ca0| 68 20 74 68 65 20 57 69 | 6e 64 6f 77 20 4d 61 6e |h the Wi|ndow Man|
|00003cb0| 61 67 65 72 20 69 73 20 | 76 65 72 79 20 73 74 72 |ager is |very str|
|00003cc0| 61 69 67 68 74 66 6f 72 | 77 61 72 64 2c 20 6d 75 |aightfor|ward, mu|
|00003cd0| 63 68 20 6d 6f 72 65 20 | 73 6f 20 74 68 61 6e 20 |ch more |so than |
|00003ce0| 74 72 79 69 6e 67 20 74 | 6f 20 67 65 74 20 61 72 |trying t|o get ar|
|00003cf0| 6f 75 6e 64 20 74 68 65 | 20 44 69 61 6c 6f 67 20 |ound the| Dialog |
|00003d00| 4d 61 6e 61 67 65 72 2e | 20 54 68 65 72 65 20 69 |Manager.| There i|
|00003d10| 73 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 6d |s the st|andard m|
|00003d20| 61 69 6e 20 65 76 65 6e | 74 20 6c 6f 6f 70 2c 20 |ain even|t loop, |
|00003d30| 61 6e 64 20 61 20 63 6f | 6e 76 65 6e 74 69 6f 6e |and a co|nvention|
|00003d40| 61 6c 20 63 61 73 65 20 | 73 74 61 74 65 6d 65 6e |al case |statemen|
|00003d50| 74 20 74 6f 20 68 61 6e | 64 6c 65 20 74 68 65 20 |t to han|dle the |
|00003d60| 65 76 65 6e 74 73 20 6f | 66 20 69 6e 74 65 72 65 |events o|f intere|
|00003d70| 73 74 2e 20 49 66 20 74 | 68 65 72 65 20 61 72 65 |st. If t|here are|
|00003d80| 20 63 6f 6e 74 72 6f 6c | 73 20 69 6e 20 74 68 65 | control|s in the|
|00003d90| 20 77 69 6e 64 6f 77 2c | 20 74 68 65 79 20 61 72 | window,| they ar|
|00003da0| 65 20 65 61 73 69 6c 79 | 20 68 61 6e 64 6c 65 64 |e easily| handled|
|00003db0| 20 77 69 74 68 20 43 6f | 6e 74 72 6f 6c 20 4d 61 | with Co|ntrol Ma|
|00003dc0| 6e 61 67 65 72 20 63 61 | 6c 6c 73 2e 20 41 6e 79 |nager ca|lls. Any|
|00003dd0| 20 73 70 65 63 69 61 6c | 20 69 74 65 6d 73 20 63 | special| items c|
|00003de0| 61 6e 20 62 65 20 61 64 | 64 65 64 20 74 6f 20 74 |an be ad|ded to t|
|00003df0| 68 65 20 63 61 73 65 20 | 73 74 61 74 65 6d 65 6e |he case |statemen|
|00003e00| 74 20 77 69 74 68 20 6e | 6f 20 74 72 69 63 6b 73 |t with n|o tricks|
|00003e10| 2e 20 4f 76 65 72 61 6c | 6c 20 74 68 65 72 65 20 |. Overal|l there |
|00003e20| 69 73 20 6d 6f 72 65 20 | 63 6f 64 65 20 74 6f 20 |is more |code to |
|00003e30| 77 72 69 74 65 2c 20 62 | 75 74 20 74 68 65 20 63 |write, b|ut the c|
|00003e40| 6f 64 65 20 69 73 20 6d | 75 63 68 20 6c 65 73 73 |ode is m|uch less|
|00003e50| 20 63 6f 6d 70 6c 65 78 | 20 28 72 65 61 64 20 61 | complex| (read a|
|00003e60| 73 3a 20 65 61 73 69 65 | 72 20 74 6f 20 66 69 67 |s: easie|r to fig|
|00003e70| 75 72 65 20 6f 75 74 2c | 20 65 61 73 69 65 72 20 |ure out,| easier |
|00003e80| 74 6f 20 64 65 62 75 67 | 2c 20 65 61 73 69 65 72 |to debug|, easier|
|00003e90| 20 74 6f 20 6d 61 69 6e | 74 61 69 6e 29 2e 20 49 | to main|tain). I|
|00003ea0| 6e 20 61 64 64 69 74 69 | 6f 6e 2c 20 77 68 65 6e |n additi|on, when|
|00003eb0| 20 65 78 74 72 61 20 69 | 74 65 6d 73 20 68 61 76 | extra i|tems hav|
|00003ec0| 65 20 74 6f 20 62 65 20 | 61 64 64 65 64 20 74 6f |e to be |added to|
|00003ed0| 20 74 68 65 20 77 69 6e | 64 6f 77 2c 20 74 68 65 | the win|dow, the|
|00003ee0| 72 65 20 69 73 20 61 6e | 20 65 61 73 79 2d 74 6f |re is an| easy-to|
|00003ef0| 2d 66 69 6e 64 2c 20 6c | 6f 67 69 63 61 6c 20 70 |-find, l|ogical p|
|00003f00| 6c 61 63 65 20 74 6f 20 | 61 64 64 20 74 68 65 20 |lace to |add the |
|00003f10| 63 6f 64 65 2e 20 57 69 | 74 68 20 74 68 65 20 44 |code. Wi|th the D|
|00003f20| 69 61 6c 6f 67 20 4d 61 | 6e 61 67 65 72 20 74 68 |ialog Ma|nager th|
|00003f30| 65 72 65 20 6d 61 79 20 | 62 65 20 68 69 64 64 65 |ere may |be hidde|
|00003f40| 6e 20 64 69 66 66 69 63 | 75 6c 74 69 65 73 2e 0d |n diffic|ulties..|
|00003f50| 54 68 65 20 44 69 61 6c | 6f 67 20 4d 61 6e 61 67 |The Dial|og Manag|
|00003f60| 65 72 20 69 73 20 76 65 | 72 79 20 70 6f 77 65 72 |er is ve|ry power|
|00003f70| 66 75 6c 2c 20 62 75 74 | 20 74 6f 20 75 73 65 20 |ful, but| to use |
|00003f80| 74 68 65 20 70 6f 77 65 | 72 20 69 74 20 69 73 20 |the powe|r it is |
|00003f90| 6e 65 63 65 73 73 61 72 | 79 20 74 6f 20 75 73 65 |necessar|y to use|
|00003fa0| 20 61 6c 6c 20 73 6f 72 | 74 73 20 6f 66 20 68 6f | all sor|ts of ho|
|00003fb0| 6f 6b 73 2c 20 70 72 6f | 63 73 2c 20 73 70 65 63 |oks, pro|cs, spec|
|00003fc0| 69 61 6c 20 69 74 65 6d | 73 2c 20 61 6e 64 20 73 |ial item|s, and s|
|00003fd0| 70 65 63 69 61 6c 20 63 | 61 6c 6c 69 6e 67 20 73 |pecial c|alling s|
|00003fe0| 65 71 75 65 6e 63 65 73 | 2e 20 41 73 20 65 78 70 |equences|. As exp|
|00003ff0| 65 63 74 65 64 2c 20 6f | 6e 6c 79 20 74 68 65 20 |ected, o|nly the |
|00004000| 69 6e 74 65 72 66 61 63 | 65 73 20 74 6f 20 74 68 |interfac|es to th|
|00004010| 65 73 65 20 74 68 69 6e | 67 73 20 61 72 65 20 64 |ese thin|gs are d|
|00004020| 65 73 63 72 69 62 65 64 | 20 69 6e 20 49 6e 73 69 |escribed| in Insi|
|00004030| 64 65 20 4d 61 63 69 6e | 74 6f 73 68 2e 20 54 68 |de Macin|tosh. Th|
|00004040| 65 20 73 65 71 75 65 6e | 63 65 20 6f 66 20 65 76 |e sequen|ce of ev|
|00004050| 65 6e 74 73 20 69 73 20 | 74 68 65 20 63 6f 73 74 |ents is |the cost|
|00004060| 6c 79 20 70 61 72 74 2e | 20 46 6f 72 20 61 6e 20 |ly part.| For an |
|00004070| 65 78 61 6d 70 6c 65 20 | 6f 66 20 68 6f 77 20 74 |example |of how t|
|00004080| 6f 20 61 64 64 20 61 20 | 75 73 65 72 49 74 65 6d |o add a |userItem|
|00004090| 20 74 6f 20 61 20 64 69 | 61 6c 6f 67 2c 20 65 78 | to a di|alog, ex|
|000040a0| 61 6d 69 6e 65 20 54 65 | 63 68 6e 69 63 61 6c 20 |amine Te|chnical |
|000040b0| 4e 6f 74 65 20 23 33 34 | 2e 20 4e 6f 74 65 20 74 |Note #34|. Note t|
|000040c0| 68 61 74 20 69 74 20 69 | 73 20 6e 6f 74 20 70 61 |hat it i|s not pa|
|000040d0| 72 74 69 63 75 6c 61 72 | 6c 79 20 73 69 6d 70 6c |rticular|ly simpl|
|000040e0| 65 20 74 6f 20 75 6e 64 | 65 72 73 74 61 6e 64 2e |e to und|erstand.|
|000040f0| 20 43 6f 6e 74 72 61 73 | 74 20 74 68 61 74 20 77 | Contras|t that w|
|00004100| 69 74 68 20 74 68 65 20 | 46 69 6c 6c 52 65 63 74 |ith the |FillRect|
|00004110| 2f 46 72 61 6d 65 52 65 | 63 74 20 63 61 6c 6c 73 |/FrameRe|ct calls|
|00004120| 20 69 6e 20 74 68 65 20 | 63 6f 64 65 20 74 68 61 | in the |code tha|
|00004130| 74 20 68 61 6e 64 6c 65 | 73 20 75 70 64 61 74 65 |t handle|s update|
|00004140| 20 65 76 65 6e 74 73 20 | 69 6e 20 61 20 6e 6f 72 | events |in a nor|
|00004150| 6d 61 6c 20 77 69 6e 64 | 6f 77 2e 0d 54 68 65 20 |mal wind|ow..The |
|00004160| 57 69 6e 64 6f 77 20 4d | 61 6e 61 67 65 72 20 69 |Window M|anager i|
|00004170| 73 20 6d 6f 72 65 20 70 | 6f 77 65 72 66 75 6c 20 |s more p|owerful |
|00004180| 74 68 61 6e 20 74 68 65 | 20 44 69 61 6c 6f 67 20 |than the| Dialog |
|00004190| 4d 61 6e 61 67 65 72 2e | 20 54 68 65 20 44 69 61 |Manager.| The Dia|
|000041a0| 6c 6f 67 20 4d 61 6e 61 | 67 65 72 20 75 73 65 73 |log Mana|ger uses|
|000041b0| 20 74 68 65 20 57 69 6e | 64 6f 77 20 4d 61 6e 61 | the Win|dow Mana|
|000041c0| 67 65 72 2e 20 54 68 65 | 20 57 69 6e 64 6f 77 20 |ger. The| Window |
|000041d0| 4d 61 6e 61 67 65 72 20 | 69 73 20 6d 75 63 68 20 |Manager |is much |
|000041e0| 6d 6f 72 65 20 73 74 72 | 61 69 67 68 74 66 6f 72 |more str|aightfor|
|000041f0| 77 61 72 64 20 74 6f 20 | 75 73 65 20 73 69 6e 63 |ward to |use sinc|
|00004200| 65 20 69 74 20 66 6f 6c | 6c 6f 77 73 20 74 68 65 |e it fol|lows the|
|00004210| 20 63 6f 6e 76 65 6e 74 | 69 6f 6e 61 6c 20 4d 61 | convent|ional Ma|
|00004220| 63 69 6e 74 6f 73 68 20 | 65 76 65 6e 74 20 6d 6f |cintosh |event mo|
|00004230| 64 65 6c 2e 20 54 68 61 | 74 20 6d 6f 64 65 6c 20 |del. Tha|t model |
|00004240| 69 73 20 65 61 73 69 65 | 72 20 74 6f 20 75 6e 64 |is easie|r to und|
|00004250| 65 72 73 74 61 6e 64 20 | 61 6e 64 20 65 61 73 69 |erstand |and easi|
|00004260| 65 72 20 74 6f 20 65 78 | 74 65 6e 64 2e 20 54 68 |er to ex|tend. Th|
|00004270| 65 72 65 20 61 72 65 20 | 6d 6f 72 65 20 63 61 6c |ere are |more cal|
|00004280| 6c 73 20 74 6f 20 6d 61 | 6b 65 2c 20 62 75 74 20 |ls to ma|ke, but |
|00004290| 74 68 65 20 6f 76 65 72 | 61 6c 6c 20 75 73 65 20 |the over|all use |
|000042a0| 69 73 20 6d 75 63 68 20 | 73 69 6d 70 6c 65 72 2e |is much |simpler.|
|000042b0| 20 54 68 65 72 65 20 61 | 72 65 20 76 65 72 79 20 | There a|re very |
|000042c0| 66 65 77 20 73 70 65 63 | 69 61 6c 20 74 72 69 63 |few spec|ial tric|
|000042d0| 6b 73 20 6e 65 65 64 65 | 64 20 74 6f 20 6d 61 6b |ks neede|d to mak|
|000042e0| 65 20 61 6e 79 20 63 6f | 6e 63 65 69 76 61 62 6c |e any co|nceivabl|
|000042f0| 65 20 69 6e 74 65 72 66 | 61 63 65 20 69 6e 20 61 |e interf|ace in a|
|00004300| 20 77 69 6e 64 6f 77 2e | 0d 44 6f 6e d5 74 20 62 | window.|.Don.t b|
|00004310| 65 20 6c 75 72 65 64 20 | 69 6e 20 62 79 20 74 68 |e lured |in by th|
|00004320| 65 20 d2 70 6f 77 65 72 | 66 75 6c d3 20 44 69 61 |e .power|ful. Dia|
|00004330| 6c 6f 67 20 4d 61 6e 61 | 67 65 72 20 63 61 6c 6c |log Mana|ger call|
|00004340| 73 2c 20 74 72 69 63 6b | 79 20 68 6f 6f 6b 73 2c |s, trick|y hooks,|
|00004350| 20 61 6e 64 20 66 69 6c | 74 65 72 20 70 72 6f 63 | and fil|ter proc|
|00004360| 65 64 75 72 65 73 2e 20 | 54 68 65 20 44 69 61 6c |edures. |The Dial|
|00004370| 6f 67 20 4d 61 6e 61 67 | 65 72 20 69 73 20 6e 6f |og Manag|er is no|
|00004380| 74 20 61 20 75 73 65 72 | 20 69 6e 74 65 72 66 61 |t a user| interfa|
|00004390| 63 65 2e 0d 46 75 72 74 | 68 65 72 20 52 65 66 65 |ce..Furt|her Refe|
|000043a0| 72 65 6e 63 65 3a 0d a5 | 09 54 68 65 20 52 65 73 |rence:..|.The Res|
|000043b0| 6f 75 72 63 65 20 4d 61 | 6e 61 67 65 72 0d a5 09 |ource Ma|nager...|
|000043c0| 54 65 78 74 45 64 69 74 | 0d a5 09 54 68 65 20 4c |TextEdit|...The L|
|000043d0| 69 73 74 20 4d 61 6e 61 | 67 65 72 0d a5 09 54 68 |ist Mana|ger...Th|
|000043e0| 65 20 44 69 61 6c 6f 67 | 20 4d 61 6e 61 67 65 72 |e Dialog| Manager|
|000043f0| 0d a5 09 54 65 63 68 6e | 69 63 61 6c 20 4e 6f 74 |...Techn|ical Not|
|00004400| 65 20 23 31 34 31 d0 4d | 61 78 69 6d 75 6d 20 4e |e #141.M|aximum N|
|00004410| 75 6d 62 65 72 20 6f 66 | 20 52 65 73 6f 75 72 63 |umber of| Resourc|
|00004420| 65 73 20 69 6e 20 61 20 | 46 69 6c 65 0d a5 09 54 |es in a |File...T|
|00004430| 65 63 68 6e 69 63 61 6c | 20 4e 6f 74 65 20 23 33 |echnical| Note #3|
|00004440| 34 d1 55 73 65 72 20 49 | 74 65 6d 73 20 69 6e 20 |4.User I|tems in |
|00004450| 44 69 61 6c 6f 67 73 20 | 0d 19 26 00 00 00 00 02 |Dialogs |..&.....|
|00004460| d7 02 23 00 11 02 ff 0c | 00 ff ff ff ff 00 00 00 |..#.....|........|
|00004470| 00 00 00 00 00 02 23 00 | 00 02 d7 00 00 00 00 00 |......#.|........|
|00004480| 00 00 a0 00 82 00 0c 00 | 1e 00 1f 00 01 00 0a 00 |........|........|
|00004490| 2e 00 5a 00 80 02 23 00 | 07 00 00 00 00 00 08 00 |..Z...#.|........|
|000044a0| 0a 00 09 30 49 88 3a b5 | 9c f0 39 00 22 00 7a 02 |...0I.:.|..9.".z.|
|000044b0| 1a 00 00 00 09 ff ff ff | ff ff ff ff ff 00 23 00 |........|......#.|
|000044c0| 00 00 a0 00 c4 00 a1 00 | 64 00 0a 4f 4e 4c 4e 00 |........|d..ONLN.|
|000044d0| 66 00 00 01 fe 00 a0 00 | 8c 00 a1 00 64 00 31 64 |f.......|....d.1d|
|000044e0| 72 77 32 00 02 01 c9 00 | 2d 01 e1 01 5f 00 00 80 |rw2.....|-..._...|
|000044f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004500| 00 ff ff ff ff ff ff 00 | 01 00 00 01 8f 00 00 00 |........|........|
|00004510| 00 00 a1 00 96 00 0c 01 | 00 00 00 02 78 00 00 00 |........|....x...|
|00004520| 00 00 00 00 a1 00 64 00 | 10 64 72 77 32 00 3a 00 |......d.|.drw2.:.|
|00004530| 05 00 00 00 00 00 01 00 | 00 00 a1 00 64 00 0e 64 |........|....d..d|
|00004540| 72 77 32 00 3a 00 02 00 | 24 00 00 00 00 00 a1 00 |rw2.:...|$.......|
|00004550| 64 00 34 64 72 77 32 00 | 3a 00 01 00 03 01 00 00 |d.4drw2.|:.......|
|00004560| 18 00 00 00 00 00 00 00 | 00 00 00 00 01 00 01 00 |........|........|
|00004570| 01 00 01 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004580| 00 00 00 00 00 00 00 00 | a1 00 9a 00 08 ff fa 00 |........|........|
|00004590| 00 00 97 40 00 00 a0 00 | 98 00 2c 00 08 00 14 05 |...@....|..,.....|
|000045a0| 54 69 6d 65 73 00 03 00 | 14 00 04 01 00 00 0d 00 |Times...|........|
|000045b0| 18 00 2e 00 04 00 00 01 | 00 00 10 00 52 01 c9 00 |........|....R...|
|000045c0| 52 01 c9 00 2b 5d 41 13 | 4e 65 77 20 54 65 63 68 |R...+]A.|New Tech|
|000045d0| 6e 69 63 61 6c 20 4e 6f | 74 65 73 00 a0 00 99 00 |nical No|tes.....|
|000045e0| a1 00 64 00 08 64 72 77 | 32 00 3a 00 04 00 a1 14 |..d..drw|2.:.....|
|000045f0| e3 00 02 00 01 00 a0 00 | 97 00 a1 00 64 00 31 64 |........|....d.1d|
|00004600| 72 77 32 00 02 02 06 01 | 65 02 19 01 f4 00 00 80 |rw2.....|e.......|
|00004610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004620| 00 ff ff ff ff ff ff 00 | 01 00 00 01 50 00 00 00 |........|....P...|
|00004630| 00 00 a1 00 96 00 0c 01 | 00 00 00 02 78 00 00 00 |........|....x...|
|00004640| 00 00 00 00 a1 00 64 00 | 10 64 72 77 32 00 3a 00 |......d.|.drw2.:.|
|00004650| 05 00 00 00 00 00 01 00 | 00 00 a1 00 64 00 0e 64 |........|....d..d|
|00004660| 72 77 32 00 3a 00 02 00 | 24 00 00 00 00 00 a1 00 |rw2.:...|$.......|
|00004670| 64 00 34 64 72 77 32 00 | 3a 00 01 00 03 00 00 00 |d.4drw2.|:.......|
|00004680| 12 00 00 00 00 00 00 00 | 00 00 00 00 01 00 01 00 |........|........|
|00004690| 01 00 01 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000046a0| 00 00 00 00 00 00 00 00 | a1 00 9a 00 08 ff fb 80 |........|........|
|000046b0| 00 00 45 c0 00 00 a0 00 | 98 00 04 00 00 00 0d 00 |..E.....|........|
|000046c0| 12 00 28 00 7a 01 95 11 | 44 65 76 65 6c 6f 70 65 |..(.z...|Develope|
|000046d0| 72 20 53 75 70 70 6f 72 | 74 00 a0 00 99 00 a1 00 |r Suppor|t.......|
|000046e0| 64 00 08 64 72 77 32 00 | 3a 00 04 00 a1 14 e3 00 |d..drw2.|:.......|
|000046f0| 02 00 01 00 a0 00 97 00 | a1 00 64 00 60 64 72 77 |........|..d.`drw|
|00004700| 32 00 03 02 00 00 2d 02 | 00 01 ef 00 00 00 00 00 |2.....-.|........|
|00004710| 00 00 00 02 02 00 00 00 | 00 00 00 00 00 00 00 ff |........|........|
|00004720| ff ff ff ff ff 00 01 00 | 01 08 4b 00 00 00 00 02 |........|..K.....|
|00004730| 00 01 ef 02 00 00 2d 00 | 00 00 00 00 00 00 00 00 |......-.|........|
|00004740| 01 00 14 00 0c 00 03 00 | 02 00 00 00 5a 00 01 00 |........|....Z...|
|00004750| 00 00 02 00 00 00 03 00 | 0c 00 00 00 00 00 07 00 |........|........|
|00004760| 02 00 02 00 08 00 08 00 | 20 00 65 02 1c 00 65 00 |........| .e...e.|
|00004770| 5a 00 a1 00 64 00 31 64 | 72 77 32 00 02 01 ca 01 |Z...d.1d|rw2.....|
|00004780| c0 01 fa 01 e9 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004790| 00 00 00 00 00 00 00 00 | 00 ff ff ff ff ff ff 00 |........|........|
|000047a0| 01 00 00 01 4b 00 00 00 | 00 00 a1 00 96 00 0c 01 |....K...|........|
|000047b0| 00 00 00 02 78 00 00 00 | 00 00 00 00 a1 00 64 00 |....x...|......d.|
|000047c0| 10 64 72 77 32 00 3a 00 | 05 00 00 00 00 00 01 00 |.drw2.:.|........|
|000047d0| 00 00 a1 00 64 00 0e 64 | 72 77 32 00 3a 00 02 00 |....d..d|rw2.:...|
|000047e0| 24 00 00 00 00 00 a1 00 | 64 00 34 64 72 77 32 00 |$.......|d.4drw2.|
|000047f0| 3a 00 01 00 03 00 00 00 | 30 00 00 00 00 00 00 00 |:.......|0.......|
|00004800| 00 00 00 00 01 00 01 00 | 01 00 01 00 00 00 00 00 |........|........|
|00004810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004820| a1 00 9a 00 08 ff f4 00 | 00 00 13 80 00 00 a0 00 |........|........|
|00004830| 98 00 0d 00 30 00 28 00 | 54 01 ef 01 f0 00 a0 00 |....0.(.|T.......|
|00004840| 99 00 a1 00 64 00 08 64 | 72 77 32 00 3a 00 04 00 |....d..d|rw2.:...|
|00004850| a1 14 e3 00 02 00 01 00 | a0 00 97 00 a1 00 64 00 |........|......d.|
|00004860| 31 64 72 77 32 00 02 01 | ef 01 e6 01 fa 01 f0 00 |1drw2...|........|
|00004870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004880| 00 00 00 ff ff ff ff ff | ff 00 01 00 00 01 00 00 |........|........|
|00004890| 00 00 00 00 a1 00 96 00 | 0c 01 00 00 00 02 78 00 |........|......x.|
|000048a0| 00 00 00 00 00 00 a1 00 | 64 00 10 64 72 77 32 00 |........|d..drw2.|
|000048b0| 3a 00 05 00 00 00 00 00 | 01 00 00 00 a1 00 64 00 |:.......|......d.|
|000048c0| 0e 64 72 77 32 00 3a 00 | 02 00 24 00 00 00 00 00 |.drw2.:.|..$.....|
|000048d0| a1 00 64 00 34 64 72 77 | 32 00 3a 00 01 00 03 00 |..d.4drw|2.:.....|
|000048e0| 00 00 09 00 00 00 00 00 | 00 00 00 00 00 00 01 00 |........|........|
|000048f0| 01 00 01 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004900| 00 00 00 00 00 00 00 00 | 00 00 a1 00 9a 00 08 ff |........|........|
|00004910| fd 80 00 00 04 00 00 00 | a0 00 98 00 0d 00 09 00 |........|........|
|00004920| 2b 26 09 01 a8 00 a0 00 | 99 00 a1 00 64 00 08 64 |+&......|....d..d|
|00004930| 72 77 32 00 3a 00 04 00 | a1 14 e3 00 02 00 01 00 |rw2.:...|........|
|00004940| a0 00 97 00 a1 00 64 00 | 31 64 72 77 32 00 02 01 |......d.|1drw2...|
|00004950| e5 00 2d 01 f8 00 79 00 | 00 00 00 00 00 00 00 00 |..-...y.|........|
|00004960| 00 00 00 00 00 00 00 00 | 00 00 00 ff ff ff ff ff |........|........|
|00004970| ff 00 01 00 01 01 00 00 | 00 01 00 00 a1 00 96 00 |........|........|
|00004980| 0c 01 00 00 00 02 78 00 | 00 00 00 00 00 00 a1 00 |......x.|........|
|00004990| 64 00 10 64 72 77 32 00 | 3a 00 05 00 00 00 00 00 |d..drw2.|:.......|
|000049a0| 01 00 00 00 a1 00 64 00 | 0e 64 72 77 32 00 3a 00 |......d.|.drw2.:.|
|000049b0| 02 00 24 00 00 00 00 00 | a1 00 64 00 34 64 72 77 |..$.....|..d.4drw|
|000049c0| 32 00 3a 00 01 00 03 00 | 00 00 12 00 00 00 00 00 |2.:.....|........|
|000049d0| 00 00 00 00 00 00 01 00 | 01 00 01 00 01 00 00 00 |........|........|
|000049e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049f0| 00 00 a1 00 9a 00 08 ff | fb 80 00 00 25 00 00 00 |........|....%...|
|00004a00| a0 00 98 00 0d 00 12 00 | 28 00 59 00 5c 09 4d 61 |........|(.Y.\.Ma|
|00004a10| 63 69 6e 74 6f 73 68 00 | a0 00 99 00 a1 00 64 00 |cintosh.|......d.|
|00004a20| 08 64 72 77 32 00 3a 00 | 04 00 a1 14 e3 00 02 00 |.drw2.:.|........|
|00004a30| 01 00 a0 00 97 00 a0 00 | 8d 00 a1 00 64 00 06 64 |........|....d..d|
|00004a40| 72 77 32 00 44 00 a0 00 | 83 00 01 00 0a 00 00 00 |rw2.D...|........|
|00004a50| 00 03 49 02 52 00 04 01 | 00 00 2e 00 04 00 00 00 |..I.R...|........|
|00004a60| 00 00 10 00 01 00 01 00 | 01 00 01 00 a1 00 64 00 |........|......d.|
|00004a70| 10 4f 4e 4c 4e 00 64 00 | 00 00 79 00 3c 00 8b 01 |.ONLN.d.|..y.<...|
|00004a80| 0d 00 28 00 a6 00 5a 18 | 44 6f 6e d5 74 20 41 62 |..(...Z.|Don.t Ab|
|00004a90| 75 73 65 20 74 68 65 20 | 4d 61 6e 61 67 65 72 73 |use the |Managers|
|00004aa0| 00 00 0d 00 0e 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00004ab0| 64 00 19 00 8b 00 3c 00 | 99 00 75 00 2a 0f 08 4f |d.....<.|..u.*..O|
|00004ac0| 76 65 72 76 69 65 77 00 | a1 00 64 00 10 4f 4e 4c |verview.|..d..ONL|
|00004ad0| 4e 00 64 00 22 00 8b 01 | 7b 00 99 01 fe 00 28 00 |N.d."...|{.....(.|
|00004ae0| b5 01 99 11 4d 2e 4f 56 | 2e 4d 61 6e 61 67 65 72 |....M.OV|.Manager|
|00004af0| 41 62 75 73 65 00 04 00 | 00 00 0d 00 0c 00 a1 00 |Abuse...|........|
|00004b00| 64 00 10 4f 4e 4c 4e 00 | 64 00 34 00 a5 00 3c 00 |d..ONLN.|d.4...<.|
|00004b10| b1 00 72 00 28 00 cd 00 | 5a 0b 57 72 69 74 74 65 |..r.(...|Z.Writte|
|00004b20| 6e 20 62 79 3a 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |n by:...|d..ONLN.|
|00004b30| 64 00 40 00 a5 00 84 00 | b1 00 c9 00 29 48 0c 42 |d.@.....|....)H.B|
|00004b40| 6f 33 62 20 4a 6f 68 6e | 73 6f 6e 00 a1 00 64 00 |o3b John|son...d.|
|00004b50| 10 4f 4e 4c 4e 00 64 00 | 4d 00 a5 01 c1 00 b1 01 |.ONLN.d.|M.......|
|00004b60| fe 00 28 00 cd 01 df 0b | 41 75 67 75 73 74 20 31 |..(.....|August 1|
|00004b70| 39 38 38 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |988...d.|.ONLN.d.|
|00004b80| 59 00 bd 00 3c 00 c9 01 | a2 00 28 00 e5 00 5a 4b |Y...<...|..(...ZK|
|00004b90| 57 68 65 6e 20 75 73 69 | 6e 67 20 74 68 65 20 76 |When usi|ng the v|
|00004ba0| 61 72 69 6f 75 73 20 70 | 69 65 63 65 73 20 6f 66 |arious p|ieces of|
|00004bb0| 20 74 68 65 20 4d 61 63 | 69 6e 74 6f 73 68 20 6f | the Mac|intosh o|
|00004bc0| 70 65 72 61 74 69 6e 67 | 20 73 79 73 74 65 6d 20 |perating| system |
|00004bd0| 74 68 65 72 65 20 69 73 | 20 61 20 00 06 00 01 00 |there is| a .....|
|00004be0| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 00 a4 00 |....d..O|NLN.d...|
|00004bf0| bd 01 a2 00 c9 01 fe 00 | 28 00 e5 01 c0 14 74 65 |........|(.....te|
|00004c00| 6d 70 74 61 74 69 6f 6e | 20 74 6f 20 74 72 79 20 |mptation| to try |
|00004c10| 74 6f 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |to....d.|.ONLN.d.|
|00004c20| b9 00 c9 00 3c 00 d5 01 | 9c 00 28 00 f1 00 5a 49 |....<...|..(...ZI|
|00004c30| 73 74 72 65 74 63 68 20 | 74 68 65 20 62 75 69 6c |stretch |the buil|
|00004c40| 74 2d 69 6e 20 4d 61 6e | 61 67 65 72 73 20 74 6f |t-in Man|agers to|
|00004c50| 6f 20 66 61 72 2e 20 44 | 65 76 65 6c 6f 70 65 72 |o far. D|eveloper|
|00004c60| 73 20 73 68 6f 75 6c 64 | 20 62 65 20 61 77 61 72 |s should| be awar|
|00004c70| 65 20 6f 66 20 74 68 65 | 20 00 06 00 02 00 00 00 |e of the| .......|
|00004c80| a1 00 64 00 10 4f 4e 4c | 4e 00 64 01 02 00 c9 01 |..d..ONL|N.d.....|
|00004c90| 9c 00 d5 01 fe 00 28 00 | f1 01 ba 13 69 6e 74 65 |......(.|....inte|
|00004ca0| 6e 64 65 64 20 70 75 72 | 70 6f 73 65 20 6f 66 00 |nded pur|pose of.|
|00004cb0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 01 16 00 d5 00 |..d..ONL|N.d.....|
|00004cc0| 3c 00 e1 01 94 00 28 00 | fd 00 5a 43 74 68 65 20 |<.....(.|..ZCthe |
|00004cd0| 76 61 72 69 6f 75 73 20 | 4d 61 6e 61 67 65 72 73 |various |Managers|
|00004ce0| 20 61 6e 64 20 62 65 77 | 61 72 65 20 6f 66 20 75 | and bew|are of u|
|00004cf0| 73 69 6e 67 20 74 68 65 | 6d 20 66 6f 72 20 74 68 |sing the|m for th|
|00004d00| 69 6e 67 73 20 74 68 61 | 74 20 74 68 65 79 20 00 |ings tha|t they .|
|00004d10| 06 00 03 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00004d20| 64 01 59 00 d5 01 94 00 | e1 01 fe 00 28 00 fd 01 |d.Y.....|....(...|
|00004d30| b2 14 77 65 72 65 20 6e | 6f 74 20 64 65 73 69 67 |..were n|ot desig|
|00004d40| 6e 65 64 20 74 6f 00 00 | 06 00 00 00 00 00 a1 00 |ned to..|........|
|00004d50| 64 00 10 4f 4e 4c 4e 00 | 64 01 6e 00 e1 00 3c 00 |d..ONLN.|d.n...<.|
|00004d60| ed 01 c4 00 28 01 09 00 | 5a 52 68 61 6e 64 6c 65 |....(...|ZRhandle|
|00004d70| 2e 20 49 66 20 65 78 74 | 65 6e 64 65 64 20 62 65 |. If ext|ended be|
|00004d80| 79 6f 6e 64 20 74 68 65 | 69 72 20 64 65 73 69 67 |yond the|ir desig|
|00004d90| 6e 20 67 6f 61 6c 73 2c | 20 74 68 65 79 20 77 69 |n goals,| they wi|
|00004da0| 6c 6c 20 62 65 63 6f 6d | 65 20 73 6c 6f 77 20 61 |ll becom|e slow a|
|00004db0| 6e 64 20 75 6e 77 69 65 | 6c 64 79 2e 00 00 07 00 |nd unwie|ldy.....|
|00004dc0| 01 00 01 00 20 01 18 00 | 58 01 18 02 1d 00 a1 00 |.... ...|X.......|
|00004dd0| 64 00 10 4f 4e 4c 4e 00 | 64 01 c1 01 12 00 3c 01 |d..ONLN.|d.....<.|
|00004de0| 1e 01 27 00 2a 31 31 4d | 61 6e 61 67 65 72 73 20 |..'.*11M|anagers |
|00004df0| 74 6f 20 61 76 6f 69 64 | 20 61 62 75 73 69 6e 67 |to avoid| abusing|
|00004e00| 2c 20 61 6e 64 20 74 68 | 65 20 74 79 70 65 20 6f |, and th|e type o|
|00004e10| 66 20 61 62 75 73 65 3a | 00 00 a1 00 64 00 10 4f |f abuse:|....d..O|
|00004e20| 4e 4c 4e 00 64 01 f3 01 | 2a 00 3c 01 36 00 46 00 |NLN.d...|*.<.6.F.|
|00004e30| 2a 18 02 31 29 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |*..1)...|d..ONLN.|
|00004e40| 64 01 f6 01 2a 00 60 01 | 36 00 dc 00 29 24 18 54 |d...*.`.|6...)$.T|
|00004e50| 68 65 20 52 65 73 6f 75 | 72 63 65 20 4d 61 6e 61 |he Resou|rce Mana|
|00004e60| 67 65 72 20 69 73 20 00 | 04 01 00 00 a1 00 64 00 |ger is .|......d.|
|00004e70| 10 4f 4e 4c 4e 00 64 02 | 0e 01 2a 00 dc 01 36 00 |.ONLN.d.|..*...6.|
|00004e80| ed 00 29 7c 03 6e 6f 74 | 00 00 04 00 00 00 a1 00 |..)|.not|........|
|00004e90| 64 00 10 4f 4e 4c 4e 00 | 64 02 11 01 2a 00 ed 01 |d..ONLN.|d...*...|
|00004ea0| 36 01 23 00 29 11 0c 20 | 61 20 64 61 74 61 62 61 |6.#.).. |a databa|
|00004eb0| 73 65 2e 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |se....d.|.ONLN.d.|
|00004ec0| 1e 01 36 00 3c 01 42 00 | 46 00 28 01 5e 00 5a 02 |..6.<.B.|F.(.^.Z.|
|00004ed0| 32 29 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |2)....d.|.ONLN.d.|
|00004ee0| 21 01 36 00 60 01 42 00 | d4 00 29 24 18 54 68 65 |!.6.`.B.|..)$.The|
|00004ef0| 20 54 65 78 74 45 64 69 | 74 20 70 61 63 6b 61 67 | TextEdi|t packag|
|00004f00| 65 20 69 73 20 00 04 01 | 00 00 a1 00 64 00 10 4f |e is ...|....d..O|
|00004f10| 4e 4c 4e 00 64 02 39 01 | 36 00 d4 01 42 00 e5 00 |NLN.d.9.|6...B...|
|00004f20| 29 74 03 6e 6f 74 00 00 | 04 00 00 00 a1 00 64 00 |)t.not..|......d.|
|00004f30| 10 4f 4e 4c 4e 00 64 02 | 3c 01 36 00 e5 01 42 01 |.ONLN.d.|<.6...B.|
|00004f40| 3c 00 29 11 12 20 61 20 | 77 6f 72 64 20 70 72 6f |<.).. a |word pro|
|00004f50| 63 65 73 73 6f 72 2e 00 | a1 00 64 00 10 4f 4e 4c |cessor..|..d..ONL|
|00004f60| 4e 00 64 02 4f 01 42 00 | 3c 01 4e 00 46 00 28 01 |N.d.O.B.|<.N.F.(.|
|00004f70| 6a 00 5a 02 33 29 00 00 | a1 00 64 00 10 4f 4e 4c |j.Z.3)..|..d..ONL|
|00004f80| 4e 00 64 02 52 01 42 00 | 60 01 4e 00 c2 00 29 24 |N.d.R.B.|`.N...)$|
|00004f90| 14 54 68 65 20 4c 69 73 | 74 20 4d 61 6e 61 67 65 |.The Lis|t Manage|
|00004fa0| 72 20 69 73 20 00 04 01 | 00 00 a1 00 64 00 10 4f |r is ...|....d..O|
|00004fb0| 4e 4c 4e 00 64 02 66 01 | 42 00 c2 01 4e 00 d3 00 |NLN.d.f.|B...N...|
|00004fc0| 29 62 03 6e 6f 74 00 00 | 04 00 00 00 a1 00 64 00 |)b.not..|......d.|
|00004fd0| 10 4f 4e 4c 4e 00 64 02 | 69 01 42 00 d3 01 4e 01 |.ONLN.d.|i.B...N.|
|00004fe0| 18 00 29 11 0f 20 61 20 | 73 70 72 65 61 64 73 68 |..).. a |spreadsh|
|00004ff0| 65 65 74 2e 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |eet.....|d..ONLN.|
|00005000| 64 02 79 01 4e 00 3c 01 | 5a 00 46 00 28 01 76 00 |d.y.N.<.|Z.F.(.v.|
|00005010| 5a 02 34 29 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |Z.4)....|d..ONLN.|
|00005020| 64 02 7c 01 4e 00 60 01 | 5a 00 d0 00 29 24 16 54 |d.|.N.`.|Z...)$.T|
|00005030| 68 65 20 44 69 61 6c 6f | 67 20 4d 61 6e 61 67 65 |he Dialo|g Manage|
|00005040| 72 20 69 73 20 00 04 01 | 00 00 a1 00 64 00 10 4f |r is ...|....d..O|
|00005050| 4e 4c 4e 00 64 02 92 01 | 4e 00 d0 01 5a 00 e1 00 |NLN.d...|N...Z...|
|00005060| 29 70 03 6e 6f 74 00 00 | 04 00 00 00 a1 00 64 00 |)p.not..|......d.|
|00005070| 10 4f 4e 4c 4e 00 64 02 | 95 01 4e 00 e1 01 5a 01 |.ONLN.d.|..N...Z.|
|00005080| 2e 00 29 11 12 20 61 20 | 75 73 65 72 20 69 6e 74 |..).. a |user int|
|00005090| 65 72 66 61 63 65 2e 00 | 04 01 00 00 0d 00 0e 00 |erface..|........|
|000050a0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 02 a8 01 76 00 |..d..ONL|N.d...v.|
|000050b0| 3c 01 84 00 a1 00 28 01 | a0 00 5a 10 4e 6f 20 66 |<.....(.|..Z.No f|
|000050c0| 72 65 65 20 64 61 74 61 | 62 61 73 65 00 00 04 00 |ree data|base....|
|000050d0| 00 00 0d 00 0c 00 06 00 | 02 00 00 00 a1 00 64 00 |........|......d.|
|000050e0| 10 4f 4e 4c 4e 00 64 02 | b9 01 90 00 3c 01 9c 01 |.ONLN.d.|....<...|
|000050f0| 50 00 2a 18 37 41 66 74 | 65 72 20 75 73 69 6e 67 |P.*.7Aft|er using|
|00005100| 20 74 68 65 20 52 65 73 | 6f 75 72 63 65 20 4d 61 | the Res|ource Ma|
|00005110| 6e 61 67 65 72 20 66 6f | 72 20 61 20 73 68 6f 72 |nager fo|r a shor|
|00005120| 74 20 74 69 6d 65 2c 20 | 69 74 73 20 00 00 06 00 |t time, |its ....|
|00005130| 03 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 02 |......d.|.ONLN.d.|
|00005140| f0 01 90 01 50 01 9c 01 | fe 00 28 01 b8 01 6e 23 |....P...|..(...n#|
|00005150| 76 69 72 74 75 65 73 20 | 62 65 63 6f 6d 65 20 61 |virtues |become a|
|00005160| 70 70 61 72 65 6e 74 3a | 20 69 74 20 69 73 20 76 |pparent:| it is v|
|00005170| 65 72 79 00 06 00 01 00 | 00 00 a1 00 64 00 10 4f |ery.....|....d..O|
|00005180| 4e 4c 4e 00 64 03 14 01 | 9c 00 3c 01 a8 01 86 00 |NLN.d...|..<.....|
|00005190| 28 01 c4 00 5a 4a 66 6c | 65 78 69 62 6c 65 2c 20 |(...ZJfl|exible, |
|000051a0| 69 74 20 69 73 20 65 61 | 73 79 20 74 6f 20 75 73 |it is ea|sy to us|
|000051b0| 65 2c 20 69 74 20 67 69 | 76 65 73 20 64 69 73 6b |e, it gi|ves disk|
|000051c0| 20 62 61 73 65 64 20 49 | 2f 4f 20 77 69 74 68 20 | based I|/O with |
|000051d0| 6e 6f 20 65 78 74 72 61 | 20 63 61 6c 6c 73 2c 20 |no extra| calls, |
|000051e0| 00 00 06 00 02 00 00 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|000051f0| 4e 00 64 03 5e 01 9c 01 | 86 01 a8 01 fe 00 28 01 |N.d.^...|......(.|
|00005200| c4 01 a4 18 64 61 74 61 | 20 63 61 6e 20 62 65 20 |....data| can be |
|00005210| 65 78 74 72 61 63 74 65 | 64 20 62 79 00 00 06 00 |extracte|d by....|
|00005220| 00 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 03 |......d.|.ONLN.d.|
|00005230| 77 01 a8 00 3c 01 b4 01 | 6f 00 28 01 d0 00 5a 42 |w...<...|o.(...ZB|
|00005240| 65 69 74 68 65 72 20 6e | 61 6d 65 20 6f 72 20 49 |either n|ame or I|
|00005250| 44 20 6e 75 6d 62 65 72 | 2c 20 61 6e 64 20 74 68 |D number|, and th|
|00005260| 65 20 64 61 74 61 20 69 | 73 20 73 74 6f 72 65 64 |e data i|s stored|
|00005270| 20 74 72 61 6e 73 70 61 | 72 65 6e 74 6c 79 20 73 | transpa|rently s|
|00005280| 6f 20 00 00 06 00 01 00 | 00 00 a1 00 64 00 10 4f |o ......|....d..O|
|00005290| 4e 4c 4e 00 64 03 b9 01 | a8 01 6f 01 b4 01 fe 00 |NLN.d...|..o.....|
|000052a0| 28 01 d0 01 8d 1f 74 68 | 65 20 63 61 6c 6c 65 72 |(.....th|e caller|
|000052b0| 20 63 61 6e 20 70 72 65 | 74 65 6e 64 20 74 68 65 | can pre|tend the|
|000052c0| 20 64 61 74 61 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 | data...|d..ONLN.|
|000052d0| 64 03 d9 01 b4 00 3c 01 | c0 01 9c 00 28 01 dc 00 |d.....<.|....(...|
|000052e0| 5a 48 69 73 20 61 6c 77 | 61 79 73 20 61 76 61 69 |ZHis alw|ays avai|
|000052f0| 6c 61 62 6c 65 20 69 6e | 20 61 20 76 69 72 74 75 |lable in| a virtu|
|00005300| 61 6c 20 6d 65 6d 6f 72 | 79 20 66 61 73 68 69 6f |al memor|y fashio|
|00005310| 6e 2e 20 57 69 74 68 20 | 73 75 63 68 20 77 69 64 |n. With |such wid|
|00005320| 65 20 72 61 6e 67 69 6e | 67 20 00 00 06 00 02 00 |e rangin|g ......|
|00005330| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 04 21 01 |....d..O|NLN.d.!.|
|00005340| b4 01 9c 01 c0 01 fe 00 | 28 01 dc 01 ba 14 61 64 |........|(.....ad|
|00005350| 76 61 6e 74 61 67 65 73 | 2c 20 69 74 20 77 6f 75 |vantages|, it wou|
|00005360| 6c 64 00 00 06 00 00 00 | 00 00 a1 00 64 00 10 4f |ld......|....d..O|
|00005370| 4e 4c 4e 00 64 04 36 01 | c0 00 3c 01 cc 00 7c 00 |NLN.d.6.|..<...|.|
|00005380| 28 01 e8 00 5a 0e 73 65 | 65 6d 20 74 68 61 74 20 |(...Z.se|em that |
|00005390| 74 68 65 20 00 00 06 00 | 01 00 00 00 a1 00 64 00 |the ....|......d.|
|000053a0| 10 4f 4e 4c 4e 00 64 04 | 44 01 c0 00 7c 01 cc 01 |.ONLN.d.|D...|...|
|000053b0| fe 00 29 40 4e 52 65 73 | 6f 75 72 63 65 20 4d 61 |..)@NRes|ource Ma|
|000053c0| 6e 61 67 65 72 20 73 68 | 6f 75 6c 64 20 62 65 20 |nager sh|ould be |
|000053d0| 75 73 65 64 20 66 6f 72 | 20 65 76 65 72 79 74 68 |used for| everyth|
|000053e0| 69 6e 67 2e 20 49 74 20 | 73 68 6f 75 6c 64 20 62 |ing. It |should b|
|000053f0| 65 20 61 70 70 61 72 65 | 6e 74 20 74 68 61 74 20 |e appare|nt that |
|00005400| 74 68 65 00 06 00 02 00 | 00 00 a1 00 64 00 10 4f |the.....|....d..O|
|00005410| 4e 4c 4e 00 64 04 93 01 | cc 00 3c 01 d8 00 db 00 |NLN.d...|..<.....|
|00005420| 28 01 f4 00 5a 1a 54 41 | 4e 53 54 41 41 46 4c 20 |(...Z.TA|NSTAAFL |
|00005430| 28 54 68 65 72 65 20 41 | 69 6e d5 74 20 4e 6f 20 |(There A|in.t No |
|00005440| 00 00 06 00 03 00 00 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|00005450| 4e 00 64 04 ad 01 cc 00 | db 01 d8 01 fe 00 29 9f |N.d.....|......).|
|00005460| 35 53 75 63 68 20 54 68 | 69 6e 67 20 41 73 20 41 |5Such Th|ing As A|
|00005470| 20 46 72 65 65 20 4c 75 | 6e 63 68 29 20 70 68 69 | Free Lu|nch) phi|
|00005480| 6c 6f 73 6f 70 68 79 20 | 61 70 70 6c 69 65 73 20 |losophy |applies |
|00005490| 74 6f 20 74 68 65 00 00 | 06 00 02 00 00 00 a1 00 |to the..|........|
|000054a0| 64 00 10 4f 4e 4c 4e 00 | 64 04 e3 01 d8 00 3c 01 |d..ONLN.|d.....<.|
|000054b0| e4 00 c6 00 28 02 00 00 | 5a 1a 52 65 73 6f 75 72 |....(...|Z.Resour|
|000054c0| 63 65 20 4d 61 6e 61 67 | 65 72 20 61 73 20 77 65 |ce Manag|er as we|
|000054d0| 6c 6c 2e 20 00 00 06 00 | 03 00 00 00 a1 00 64 00 |ll. ....|......d.|
|000054e0| 10 4f 4e 4c 4e 00 64 04 | fd 01 d8 00 c6 01 e4 01 |.ONLN.d.|........|
|000054f0| fe 00 29 8a 3a 49 66 20 | 6f 76 65 72 65 78 74 65 |..).:If |overexte|
|00005500| 6e 64 65 64 2c 20 74 68 | 65 20 52 65 73 6f 75 72 |nded, th|e Resour|
|00005510| 63 65 20 4d 61 6e 61 67 | 65 72 20 77 69 6c 6c 20 |ce Manag|er will |
|00005520| 62 65 63 6f 6d 65 20 73 | 6c 6f 77 20 61 6e 64 00 |become s|low and.|
|00005530| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00005540| 64 05 38 01 e4 00 3c 01 | f0 00 69 00 28 02 0c 00 |d.8...<.|..i.(...|
|00005550| 5a 09 75 6e 75 73 61 62 | 6c 65 2e 00 a1 00 64 00 |Z.unusab|le....d.|
|00005560| 10 4f 4e 4c 4e 00 64 05 | 42 01 fc 00 3c 02 08 00 |.ONLN.d.|B...<...|
|00005570| 80 00 2a 18 0d 54 68 65 | 20 52 65 73 6f 75 72 63 |..*..The| Resourc|
|00005580| 65 20 00 00 06 00 01 00 | 00 00 a1 00 64 00 10 4f |e ......|....d..O|
|00005590| 4e 4c 4e 00 64 05 4f 01 | fc 00 80 02 08 01 fe 00 |NLN.d.O.|........|
|000055a0| 29 44 50 4d 61 6e 61 67 | 65 72 20 69 73 20 6e 6f |)DPManag|er is no|
|000055b0| 74 20 61 20 64 61 74 61 | 62 61 73 65 2c 20 6e 6f |t a data|base, no|
|000055c0| 72 20 69 73 20 69 74 20 | 61 20 67 6f 6f 64 20 77 |r is it |a good w|
|000055d0| 61 79 20 74 6f 20 73 74 | 6f 72 65 20 75 73 65 72 |ay to st|ore user|
|000055e0| 20 64 61 74 61 2e 20 20 | 41 6c 74 68 6f 75 67 68 | data. |Although|
|000055f0| 20 69 74 00 06 00 00 00 | 00 00 a1 00 64 00 10 4f | it.....|....d..O|
|00005600| 4e 4c 4e 00 64 05 a0 02 | 08 00 3c 02 14 00 b3 00 |NLN.d...|..<.....|
|00005610| 28 02 30 00 5a 1a 63 61 | 6e 20 62 65 20 75 73 65 |(.0.Z.ca|n be use|
|00005620| 64 20 74 6f 20 73 74 6f | 72 65 20 76 65 72 79 20 |d to sto|re very |
|00005630| 00 00 06 00 01 00 00 00 | a1 00 64 00 10 4f 4e 4c |........|..d..ONL|
|00005640| 4e 00 64 05 ba 02 08 00 | b3 02 14 01 fe 00 29 77 |N.d.....|......)w|
|00005650| 44 73 6d 61 6c 6c 20 61 | 6d 6f 75 6e 74 73 20 6f |Dsmall a|mounts o|
|00005660| 66 20 64 61 74 61 2c 20 | 73 75 63 68 20 61 73 20 |f data, |such as |
|00005670| 63 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 20 64 61 |configur|ation da|
|00005680| 74 61 2c 20 61 6e 64 20 | 66 65 61 74 75 72 65 73 |ta, and |features|
|00005690| 20 73 6f 6d 65 00 06 00 | 00 00 00 00 a1 00 64 00 | some...|......d.|
|000056a0| 10 4f 4e 4c 4e 00 64 05 | ff 02 14 00 3c 02 20 00 |.ONLN.d.|....<. .|
|000056b0| 5a 00 28 02 3c 00 5a 07 | 6f 66 20 74 68 65 20 00 |Z.(.<.Z.|of the .|
|000056c0| 06 00 01 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|000056d0| 64 06 06 02 14 00 5a 02 | 20 01 fe 00 29 1e 58 73 |d.....Z.| ...).Xs|
|000056e0| 61 6d 65 20 63 68 61 72 | 61 63 74 65 72 69 73 74 |ame char|acterist|
|000056f0| 69 63 73 20 6f 66 20 64 | 61 74 61 62 61 73 65 73 |ics of d|atabases|
|00005700| 20 69 6e 20 67 65 6e 65 | 72 61 6c 2c 20 74 68 65 | in gene|ral, the|
|00005710| 20 52 65 73 6f 75 72 63 | 65 20 4d 61 6e 61 67 65 | Resourc|e Manage|
|00005720| 72 20 69 73 20 61 20 73 | 70 65 63 69 61 6c 69 7a |r is a s|pecializ|
|00005730| 65 64 20 74 6f 6f 6c 00 | a1 00 64 00 10 4f 4e 4c |ed tool.|..d..ONL|
|00005740| 4e 00 64 06 5f 02 20 00 | 3c 02 2c 01 e4 00 28 02 |N.d._. .|<.,...(.|
|00005750| 48 00 5a 58 64 65 73 69 | 67 6e 65 64 20 73 70 65 |H.ZXdesi|gned spe|
|00005760| 63 69 66 69 63 61 6c 6c | 79 20 66 6f 72 20 74 68 |cificall|y for th|
|00005770| 65 20 74 79 70 65 73 20 | 6f 66 20 74 68 69 6e 67 |e types |of thing|
|00005780| 73 20 74 68 61 74 20 74 | 68 65 20 4d 61 63 69 6e |s that t|he Macin|
|00005790| 74 6f 73 68 20 53 79 73 | 74 65 6d 20 6e 65 65 64 |tosh Sys|tem need|
|000057a0| 73 2e 20 49 74 73 20 6d | 61 69 6e 20 00 00 06 00 |s. Its m|ain ....|
|000057b0| 02 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 06 |......d.|.ONLN.d.|
|000057c0| b7 02 20 01 e4 02 2c 01 | fe 00 28 02 48 02 02 06 |.. ...,.|..(.H...|
|000057d0| 76 69 72 74 75 65 00 00 | 06 00 00 00 00 00 a1 00 |virtue..|........|
|000057e0| 64 00 10 4f 4e 4c 4e 00 | 64 06 be 02 2c 00 3c 02 |d..ONLN.|d...,.<.|
|000057f0| 38 00 c5 00 28 02 54 00 | 5a 1f 66 6f 72 20 73 79 |8...(.T.|Z.for sy|
|00005800| 73 74 65 6d 20 75 73 65 | 20 69 73 20 74 68 61 74 |stem use| is that|
|00005810| 20 61 20 6c 61 72 67 65 | 20 00 06 00 01 00 00 00 | a large| .......|
|00005820| a1 00 64 00 10 4f 4e 4c | 4e 00 64 06 dd 02 2c 00 |..d..ONL|N.d...,.|
|00005830| c5 02 38 01 fe 00 29 89 | 40 76 61 72 69 65 74 79 |..8...).|@variety|
|00005840| 20 6f 66 20 64 61 74 61 | 20 63 61 6e 20 62 65 20 | of data| can be |
|00005850| 73 74 6f 72 65 64 20 6f | 6e 20 64 69 73 6b 2c 20 |stored o|n disk, |
|00005860| 61 6e 64 20 61 63 63 65 | 73 73 65 64 20 77 68 65 |and acce|ssed whe|
|00005870| 6e 20 6e 65 65 64 65 64 | 2e 00 06 00 00 00 00 00 |n needed|........|
|00005880| a1 00 64 00 10 4f 4e 4c | 4e 00 64 07 1e 02 38 00 |..d..ONL|N.d...8.|
|00005890| 3c 02 44 01 5b 00 28 02 | 60 00 5a 3d 54 68 69 73 |<.D.[.(.|`.Z=This|
|000058a0| 20 69 73 20 61 20 70 72 | 69 6d 69 74 69 76 65 20 | is a pr|imitive |
|000058b0| 66 6f 72 6d 20 6f 66 20 | 76 69 72 74 75 61 6c 20 |form of |virtual |
|000058c0| 6d 65 6d 6f 72 79 20 77 | 68 69 63 68 20 65 78 74 |memory w|hich ext|
|000058d0| 65 6e 64 73 20 74 68 65 | 20 00 06 00 01 00 00 00 |ends the| .......|
|000058e0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 07 5b 02 38 01 |..d..ONL|N.d.[.8.|
|000058f0| 5b 02 44 01 fe 00 28 02 | 60 01 79 1f 70 6f 77 65 |[.D...(.|`.y.powe|
|00005900| 72 20 6f 66 20 74 68 65 | 20 73 79 73 74 65 6d 20 |r of the| system |
|00005910| 62 65 79 6f 6e 64 20 77 | 68 61 74 00 a1 00 64 00 |beyond w|hat...d.|
|00005920| 10 4f 4e 4c 4e 00 64 07 | 7b 02 44 00 3c 02 50 01 |.ONLN.d.|{.D.<.P.|
|00005930| 38 00 28 02 6c 00 5a 30 | 74 68 65 20 52 41 4d 20 |8.(.l.Z0|the RAM |
|00005940| 73 75 70 70 6c 69 65 73 | 2e 20 52 65 6d 65 6d 62 |supplies|. Rememb|
|00005950| 65 72 69 6e 67 20 74 68 | 61 74 20 74 68 65 20 52 |ering th|at the R|
|00005960| 65 73 6f 75 72 63 65 20 | 00 00 06 00 02 00 00 00 |esource |........|
|00005970| a1 00 64 00 10 4f 4e 4c | 4e 00 64 07 ab 02 44 01 |..d..ONL|N.d...D.|
|00005980| 38 02 50 01 fe 00 29 fc | 25 4d 61 6e 61 67 65 72 |8.P...).|%Manager|
|00005990| 20 77 61 73 20 77 72 69 | 74 74 65 6e 20 69 6e 20 | was wri|tten in |
|000059a0| 61 6e 20 65 72 61 20 6f | 66 20 31 32 38 4b 00 00 |an era o|f 128K..|
|000059b0| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|000059c0| 64 07 d1 02 50 00 3c 02 | 5c 01 b2 00 28 02 78 00 |d...P.<.|\...(.x.|
|000059d0| 5a 51 52 41 4d 2c 20 69 | 74 20 73 68 6f 75 6c 64 |ZQRAM, i|t should|
|000059e0| 20 62 65 20 61 70 70 61 | 72 65 6e 74 20 74 68 61 | be appa|rent tha|
|000059f0| 74 20 69 74 20 69 73 20 | 6f 70 74 69 6d 69 7a 65 |t it is |optimize|
|00005a00| 64 20 74 6f 20 75 73 65 | 20 61 73 20 6c 69 74 74 |d to use| as litt|
|00005a10| 6c 65 20 52 41 4d 20 61 | 73 20 70 6f 73 73 69 62 |le RAM a|s possib|
|00005a20| 6c 65 2e 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 08 |le....d.|.ONLN.d.|
|00005a30| 23 02 68 00 3c 02 74 01 | cb 00 2a 18 56 54 68 65 |#.h.<.t.|..*.VThe|
|00005a40| 20 52 65 73 6f 75 72 63 | 65 20 4d 61 6e 61 67 65 | Resourc|e Manage|
|00005a50| 72 20 75 73 65 73 20 61 | 20 73 69 6d 70 6c 65 20 |r uses a| simple |
|00005a60| 64 61 74 61 20 73 74 72 | 75 63 74 75 72 65 20 66 |data str|ucture f|
|00005a70| 6f 72 20 61 63 63 65 73 | 73 69 6e 67 20 74 68 65 |or acces|sing the|
|00005a80| 20 64 61 74 61 20 69 6e | 20 74 68 65 20 66 69 6c | data in| the fil|
|00005a90| 65 2e 20 00 06 00 01 00 | 00 00 a1 00 64 00 10 4f |e. .....|....d..O|
|00005aa0| 4e 4c 4e 00 64 08 79 02 | 68 01 cb 02 74 01 fe 00 |NLN.d.y.|h...t...|
|00005ab0| 28 02 90 01 e9 09 45 78 | 61 6d 69 6e 69 6e 67 00 |(.....Ex|amining.|
|00005ac0| 06 00 00 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00005ad0| 64 08 83 02 74 00 3c 02 | 80 01 28 00 28 02 9c 00 |d...t.<.|..(.(...|
|00005ae0| 5a 2f 74 68 65 20 52 65 | 73 6f 75 72 63 65 20 4d |Z/the Re|source M|
|00005af0| 61 6e 61 67 65 72 20 66 | 69 6c 65 20 66 6f 72 6d |anager f|ile form|
|00005b00| 61 74 20 63 61 6e 20 73 | 68 6f 77 20 73 6f 6d 65 |at can s|how some|
|00005b10| 20 00 06 00 01 00 00 00 | a1 00 64 00 10 4f 4e 4c | .......|..d..ONL|
|00005b20| 4e 00 64 08 b2 02 74 01 | 28 02 80 01 fe 00 29 ec |N.d...t.|(.....).|
|00005b30| 2e 6f 66 20 74 68 65 20 | 74 72 61 64 65 6f 66 66 |.of the |tradeoff|
|00005b40| 73 20 65 78 70 65 63 74 | 65 64 2e 20 46 6f 72 20 |s expect|ed. For |
|00005b50| 69 6e 73 74 61 6e 63 65 | 2c 20 74 68 65 72 65 00 |instance|, there.|
|00005b60| a1 00 64 00 10 4f 4e 4c | 4e 00 64 08 e1 02 80 00 |..d..ONL|N.d.....|
|00005b70| 3c 02 8c 00 df 00 28 02 | a8 00 5a 23 69 73 20 61 |<.....(.|..Z#is a|
|00005b80| 20 6c 69 6e 65 61 72 6c | 79 20 61 63 63 65 73 73 | linearl|y access|
|00005b90| 65 64 20 74 61 62 6c 65 | 20 77 68 69 63 68 20 00 |ed table| which .|
|00005ba0| 06 00 02 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00005bb0| 64 09 04 02 80 00 df 02 | 8c 01 fe 00 29 a3 3c 64 |d.......|....).<d|
|00005bc0| 65 73 63 72 69 62 65 73 | 20 61 6c 6c 20 6f 66 20 |escribes| all of |
|00005bd0| 74 68 65 20 70 6f 73 73 | 69 62 6c 65 20 72 65 73 |the poss|ible res|
|00005be0| 6f 75 72 63 65 20 74 79 | 70 65 73 20 74 68 61 74 |ource ty|pes that|
|00005bf0| 20 61 72 65 20 69 6e 20 | 74 68 65 00 a1 00 64 00 | are in |the...d.|
|00005c00| 10 4f 4e 4c 4e 00 64 09 | 41 02 8c 00 3c 02 98 01 |.ONLN.d.|A...<...|
|00005c10| 0c 00 28 02 b4 00 5a 2a | 63 75 72 72 65 6e 74 20 |..(...Z*|current |
|00005c20| 66 69 6c 65 2e 20 57 69 | 74 68 6f 75 74 20 74 6f |file. Wi|thout to|
|00005c30| 6f 20 6d 75 63 68 20 74 | 68 6f 75 67 68 74 20 69 |o much t|hought i|
|00005c40| 74 20 00 00 06 00 03 00 | 00 00 a1 00 64 00 10 4f |t ......|....d..O|
|00005c50| 4e 4c 4e 00 64 09 6b 02 | 8c 01 0c 02 98 01 fe 00 |NLN.d.k.|........|
|00005c60| 29 d0 31 73 68 6f 75 6c | 64 20 62 65 20 61 70 70 |).1shoul|d be app|
|00005c70| 61 72 65 6e 74 20 74 68 | 61 74 20 69 66 20 61 20 |arent th|at if a |
|00005c80| 66 69 6c 65 20 69 73 20 | 63 72 65 61 74 65 64 20 |file is |created |
|00005c90| 77 69 74 68 00 00 06 00 | 00 00 00 00 a1 00 64 00 |with....|......d.|
|00005ca0| 10 4f 4e 4c 4e 00 64 09 | 9d 02 98 00 3c 02 a4 00 |.ONLN.d.|....<...|
|00005cb0| ee 00 28 02 c0 00 5a 26 | 74 68 6f 75 73 61 6e 64 |..(...Z&|thousand|
|00005cc0| 73 20 6f 66 20 64 69 66 | 66 65 72 65 6e 74 20 72 |s of dif|ferent r|
|00005cd0| 65 73 6f 75 72 63 65 20 | 74 79 70 65 73 20 00 00 |esource |types ..|
|00005ce0| 06 00 01 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00005cf0| 64 09 c3 02 98 00 ee 02 | a4 01 fe 00 29 b2 38 74 |d.......|....).8t|
|00005d00| 68 65 6e 20 61 63 63 65 | 73 73 20 74 6f 20 74 68 |hen acce|ss to th|
|00005d10| 6f 73 65 20 72 65 73 6f | 75 72 63 65 73 20 77 69 |ose reso|urces wi|
|00005d20| 6c 6c 20 62 65 20 73 6c | 6f 77 2e 20 54 68 65 20 |ll be sl|ow. The |
|00005d30| 72 65 61 73 6f 6e 3f 00 | 20 02 de 00 58 02 de 02 |reason?.| ...X...|
|00005d40| 1d 00 0d 00 0a 00 06 00 | 00 00 00 00 28 02 f1 00 |........|....(...|
|00005d50| 5a 18 44 6f 6e d5 74 20 | 41 62 75 73 65 20 74 68 |Z.Don.t |Abuse th|
|00005d60| 65 20 4d 61 6e 61 67 65 | 72 73 00 00 28 02 f1 02 |e Manage|rs..(...|
|00005d70| 04 01 31 00 29 05 05 20 | 6f 66 20 35 00 00 ff 00 |..1.).. |of 5....|
|00005d80| a1 00 c0 01 f4 25 25 44 | 53 49 44 49 43 54 3a 5f |.....%%D|SIDICT:_|
|00005d90| 63 76 0d 63 75 72 72 65 | 6e 74 64 69 63 74 20 2f |cv.curre|ntdict /|
|00005da0| 62 75 20 6b 6e 6f 77 6e | 20 7b 62 75 7d 69 66 0d |bu known| {bu}if.|
|00005db0| 75 73 65 72 64 69 63 74 | 20 2f 5f 63 76 20 6b 6e |userdict| /_cv kn|
|00005dc0| 6f 77 6e 20 6e 6f 74 7b | 75 73 65 72 64 69 63 74 |own not{|userdict|
|00005dd0| 20 2f 5f 63 76 20 33 30 | 20 64 69 63 74 20 70 75 | /_cv 30| dict pu|
|00005de0| 74 7d 69 66 0d 5f 63 76 | 20 62 65 67 69 6e 0d 2f |t}if._cv| begin./|
|00005df0| 62 64 66 7b 62 69 6e 64 | 20 64 65 66 7d 62 69 6e |bdf{bind| def}bin|
|00005e00| 64 20 64 65 66 0d 63 75 | 72 72 65 6e 74 73 63 72 |d def.cu|rrentscr|
|00005e10| 65 65 6e 2f 63 73 20 65 | 78 63 68 20 64 65 66 2f |een/cs e|xch def/|
|00005e20| 63 61 20 65 78 63 68 20 | 64 65 66 2f 63 66 20 65 |ca exch |def/cf e|
|00005e30| 78 63 68 20 64 65 66 0d | 2f 73 65 74 63 6d 79 6b |xch def.|/setcmyk|
|00005e40| 63 6f 6c 6f 72 20 77 68 | 65 72 65 7b 2f 73 65 74 |color wh|ere{/set|
|00005e50| 63 6d 79 6b 63 6f 6c 6f | 72 20 67 65 74 20 2f 63 |cmykcolo|r get /c|
|00005e60| 76 63 6d 79 6b 20 65 78 | 63 68 20 64 65 66 7d 7b |vcmyk ex|ch def}{|
|00005e70| 2f 63 76 63 6d 79 6b 7b | 31 20 73 75 62 20 34 20 |/cvcmyk{|1 sub 4 |
|00005e80| 31 20 72 6f 6c 6c 20 33 | 7b 33 20 69 6e 64 65 78 |1 roll 3|{3 index|
|00005e90| 20 61 64 64 20 6e 65 67 | 20 64 75 70 20 30 20 6c | add neg| dup 0 l|
|00005ea0| 74 7b 70 6f 70 20 30 7d | 69 66 20 33 20 31 20 72 |t{pop 0}|if 3 1 r|
|00005eb0| 6f 6c 6c 7d 72 65 70 65 | 61 74 20 73 65 74 72 67 |oll}repe|at setrg|
|00005ec0| 62 63 6f 6c 6f 72 20 70 | 6f 70 7d 62 64 66 20 7d |bcolor p|op}bdf }|
|00005ed0| 69 66 65 6c 73 65 0d 2f | 73 73 7b 2f 2f 63 66 20 |ifelse./|ss{//cf |
|00005ee0| 2f 2f 63 61 20 2f 2f 63 | 73 20 73 65 74 73 63 72 |//ca //c|s setscr|
|00005ef0| 65 65 6e 7d 62 64 66 0d | 2f 73 74 67 7b 73 73 20 |een}bdf.|/stg{ss |
|00005f00| 73 65 74 67 72 61 79 7d | 62 64 66 0d 2f 73 74 72 |setgray}|bdf./str|
|00005f10| 67 62 7b 73 73 20 73 65 | 74 72 67 62 63 6f 6c 6f |gb{ss se|trgbcolo|
|00005f20| 72 7d 62 64 66 0d 2f 73 | 74 63 6d 79 6b 7b 73 73 |r}bdf./s|tcmyk{ss|
|00005f30| 20 63 76 63 6d 79 6b 7d | 62 64 66 0d 2f 6d 69 6e | cvcmyk}|bdf./min|
|00005f40| 31 7b 64 75 70 20 30 20 | 65 71 7b 70 6f 70 20 31 |1{dup 0 |eq{pop 1|
|00005f50| 7d 69 66 7d 62 64 66 0d | 65 6e 64 0d 63 75 72 72 |}if}bdf.|end.curr|
|00005f60| 65 6e 74 64 69 63 74 20 | 2f 62 6e 20 6b 6e 6f 77 |entdict |/bn know|
|00005f70| 6e 20 7b 62 6e 7d 69 66 | 0d 00 a0 00 bf 1b 50 00 |n {bn}if|......P.|
|00005f80| 00 00 00 02 d7 02 23 00 | 11 02 ff 0c 00 ff ff ff |......#.|........|
|00005f90| ff 00 00 00 00 00 00 00 | 00 02 23 00 00 02 d7 00 |........|..#.....|
|00005fa0| 00 00 00 00 00 00 0c 00 | 1e 00 1f 00 01 00 0a 00 |........|........|
|00005fb0| 00 00 00 03 49 02 52 00 | 2c 00 08 00 14 05 54 69 |....I.R.|,.....Ti|
|00005fc0| 6d 65 73 00 03 00 14 00 | 0d 00 0a 00 2e 00 04 00 |mes.....|........|
|00005fd0| 00 00 00 00 2b 36 2c 19 | 4d 61 63 69 6e 74 6f 73 |....+6,.|Macintos|
|00005fe0| 68 20 54 65 63 68 6e 69 | 63 61 6c 20 4e 6f 74 65 |h Techni|cal Note|
|00005ff0| 73 00 20 00 2e 00 34 00 | 2e 01 f9 00 0d 00 0c 00 |s. ...4.|........|
|00006000| 06 00 02 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00006010| 64 00 00 00 1c 00 18 00 | 28 00 ff 00 2a 18 2f 45 |d.......|(...*./E|
|00006020| 61 63 68 20 61 63 63 65 | 73 73 20 72 65 71 75 69 |ach acce|ss requi|
|00006030| 72 65 73 20 73 63 61 6e | 6e 69 6e 67 20 61 20 6c |res scan|ning a l|
|00006040| 69 6e 65 61 72 20 61 72 | 72 61 79 2e 20 20 00 00 |inear ar|ray. ..|
|00006050| 06 00 03 00 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |........|d..ONLN.|
|00006060| 64 00 2f 00 1c 00 ff 00 | 28 01 da 00 29 e7 29 54 |d./.....|(...).)T|
|00006070| 68 65 72 65 20 69 73 20 | 6e 6f 20 68 61 73 68 69 |here is |no hashi|
|00006080| 6e 67 20 74 65 63 68 6e | 69 71 75 65 20 75 73 65 |ng techn|ique use|
|00006090| 64 20 6f 6e 20 74 68 65 | 00 00 06 00 00 00 00 00 |d on the|........|
|000060a0| a1 00 64 00 10 4f 4e 4c | 4e 00 64 00 59 00 28 00 |..d..ONL|N.d.Y.(.|
|000060b0| 18 00 34 00 5f 00 28 00 | 50 00 36 0f 72 65 73 6f |..4._.(.|P.6.reso|
|000060c0| 75 72 63 65 20 74 79 70 | 65 73 2e 00 a1 00 64 00 |urce typ|es....d.|
|000060d0| 10 4f 4e 4c 4e 00 64 00 | 69 00 40 00 18 00 4c 01 |.ONLN.d.|i.@...L.|
|000060e0| a8 00 2a 18 57 54 68 65 | 72 65 20 69 73 20 61 20 |..*.WThe|re is a |
|000060f0| 73 69 6d 69 6c 61 72 20 | 6c 69 6e 65 61 72 20 74 |similar |linear t|
|00006100| 61 62 6c 65 20 66 6f 72 | 20 74 68 65 20 72 65 73 |able for| the res|
|00006110| 6f 75 72 63 65 20 49 44 | 73 20 74 68 65 6d 73 65 |ource ID|s themse|
|00006120| 6c 76 65 73 2e 20 42 61 | 73 65 64 20 6f 6e 20 74 |lves. Ba|sed on t|
|00006130| 68 65 20 70 72 65 76 69 | 6f 75 73 20 00 00 06 00 |he previ|ous ....|
|00006140| 01 00 00 00 a1 00 64 00 | 10 4f 4e 4c 4e 00 64 00 |......d.|.ONLN.d.|
|00006150| c0 00 40 01 a8 00 4c 01 | da 00 28 00 68 01 c6 0a |..@...L.|..(.h...|
|00006160| 64 69 73 63 75 73 73 69 | 6f 6e 00 00 a1 00 64 00 |discussi|on....d.|
|00006170| 10 4f 4e 4c 4e 00 64 00 | cb 00 4c 00 18 00 58 00 |.ONLN.d.|..L...X.|
|00006180| e5 00 28 00 74 00 36 2d | 69 74 20 73 68 6f 75 6c |..(.t.6-|it shoul|
|00006190| 64 20 61 6c 73 6f 20 62 | 65 20 61 70 70 61 72 65 |d also b|e appare|
|000061a0| 6e 74 20 74 68 61 74 20 | 69 66 20 74 68 65 72 65 |nt that |if there|
|000061b0| 20 61 72 65 20 00 06 00 | 02 00 00 00 a1 00 64 00 | are ...|......d.|
|000061c0| 10 4f 4e 4c 4e 00 64 00 | f8 00 4c 00 e5 00 58 01 |.ONLN.d.|..L...X.|
|000061d0| da 00 29 cd 32 74 68 6f | 75 73 61 6e 64 73 20 6f |..).2tho|usands o|
|000061e0| 66 20 72 65 73 6f 75 72 | 63 65 73 20 6f 66 20 61 |f resour|ces of a|
|000061f0| 20 73 70 65 63 69 66 69 | 63 20 74 79 70 65 20 74 | specifi|c type t|
|00006200| 68 61 74 20 74 68 65 00 | 06 00 00 00 00 00 a1 00 |hat the.|........|
|00006210| 64 00 10 4f 4e 4c 4e 00 | 64 01 2b 00 58 00 18 00 |d..ONLN.|d.+.X...|
|00006220| 64 00 64 00 28 00 80 00 | 36 11 61 63 63 65 73 73 |d.d.(...|6.access|
|00006230| 20 74 69 6d 65 20 77 69 | 6c 6c 20 00 06 00 01 00 | time wi|ll .....|
|00006240| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 01 3c 00 |....d..O|NLN.d.<.|
|00006250| 58 00 64 00 64 01 da 00 | 29 4c 4e 62 65 63 6f 6d |X.d.d...|)LNbecom|
|00006260| 65 20 6d 75 63 68 20 6c | 61 72 67 65 72 2e 20 49 |e much l|arger. I|
|00006270| 74 20 77 69 6c 6c 20 62 | 65 20 69 6d 70 65 72 63 |t will b|e imperc|
|00006280| 65 70 74 69 62 6c 65 20 | 6f 6e 20 61 20 73 69 6e |eptible |on a sin|
|00006290| 67 6c 65 20 61 63 63 65 | 73 73 20 6f 66 20 61 20 |gle acce|ss of a |
|000062a0| 72 65 73 6f 75 72 63 65 | 2c 00 a1 00 64 00 10 4f |resource|,...d..O|
|000062b0| 4e 4c 4e 00 64 01 8b 00 | 64 00 18 00 70 01 33 00 |NLN.d...|d...p.3.|
|000062c0| 28 00 8c 00 36 3c 62 75 | 74 20 66 6f 72 20 74 68 |(...6<bu|t for th|
|000062d0| 6f 75 73 61 6e 64 73 20 | 6f 66 20 61 63 63 65 73 |ousands |of acces|
|000062e0| 73 65 73 20 74 6f 20 74 | 68 65 20 72 65 73 6f 75 |ses to t|he resou|
|000062f0| 72 63 65 20 66 69 6c 65 | 20 74 68 65 20 74 69 6d |rce file| the tim|
|00006300| 65 20 00 00 06 00 02 00 | 00 00 a1 00 64 00 10 4f |e ......|....d..O|
|00006310| 4e 4c 4e 00 64 01 c7 00 | 64 01 33 00 70 01 da 00 |NLN.d...|d.3.p...|
|00006320| 28 00 8c 01 51 25 73 70 | 65 6e 74 20 74 72 61 76 |(...Q%sp|ent trav|
|00006330| 65 72 73 69 6e 67 20 74 | 68 65 20 6c 69 6e 65 61 |ersing t|he linea|
|00006340| 72 20 6c 69 73 74 20 77 | 69 6c 6c 00 06 00 00 00 |r list w|ill.....|
|00006350| 00 00 a1 00 64 00 10 4f | 4e 4c 4e 00 64 01 ed 00 |....d..O|NLN.d...|
|00006360| 70 00 18 00 7c 01 5d 00 | 28 00 98 00 36 46 69 6d |p...|.].|(...6Fim|
|00006370| 70 61 63 74 20 74 68 65 | 20 6f 76 65 72 61 6c 6c |pact the| overall|
|00006380| 20 73 70 65 65 64 20 6f | 66 20 74 68 65 20 70 72 | speed o|f the pr|
|00006390| 6f 67 72 61 6d 2e 20 54 | 68 65 20 75 73 65 72 20 |ogram. T|he user |
|000063a0| 77 69 6c 6c 20 6e 6f 74 | 20 62 65 20 70 6c 65 61 |will not| be plea|
|000063b0| 73 65 64 2e 00 00 a1 00 | 64 00 10 4f 4e 4c 4e 00 |sed.....|d..ONLN.|
|000063c0| 64 02 34 00 88 00 18 00 | 94 01 aa 00 2a 18 54 49 |d.4.....|....*.TI|
|000063d0| 6e 63 72 65 61 73 69 6e | 67 20 74 68 65 20 73 6c |ncreasin|g the sl|
|000063e0| 6f 77 6e 65 73 73 20 62 | 79 20 68 61 76 69 6e 67 |owness b|y having|
|000063f0| 20 74 6f 6f 20 6d 61 6e | 79 20 72 65 73 6f 75 72 | too man|y resour|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.